10-01-2017, 09:12 AM | #1 |
Enthusiast
Posts: 37
Karma: 10
Join Date: Oct 2016
Device: none
|
Character encoding issue
Hello,
Aftre converting a pdf file into an epub file with Calibre, I have a a character encoding problem. I left the value Calibre put in the converted file which seemed to be ok : Code:
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> I tried Code:
<meta http-equiv="content-type" content="text/html; charset=UTF-8"> Code:
<meta charset="UTF-8"> Furthermore, if I "repair" the html files with Calibre this line is removed. Here is the full header : Code:
<?xml version='1.0' encoding='utf-8'?> <html xmlns="http://www.w3.org/1999/xhtml" lang="" xml:lang=""> <head> <title>L'essentiel de la grammaire thaï</title> <meta name="generator" content="pdftohtml 0.36"/> <meta name="author" content="jc"/> <meta name="date" content="2012-02-17T13:14:19+00:00"/> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> <link href="stylesheet.css" rel="stylesheet" type="text/css"/> <link href="page_styles.css" rel="stylesheet" type="text/css"/> </head> |
10-01-2017, 10:46 AM | #2 |
Guru
Posts: 727
Karma: 10215666
Join Date: Jul 2017
Device: Boox Nova 2
|
I'm pretty sure you just need to add a Thai font to your kobo and use that to read the book. I don't think they include one by default.
|
10-01-2017, 10:47 AM | #3 |
Grand Sorcerer
Posts: 6,212
Karma: 16534894
Join Date: Sep 2009
Location: UK
Device: Kobo: KA1, ClaraHD, Forma, Libra2, Clara2E. PocketBook: TouchHD3
|
If you can correctly see your Thai characters when opening the book in the calibre Viewer then I think your book is probably coded correctly.
It's more likely that you're trying to read the book on the Kobo using a font which doesn't contain the necessary Thai characters. If you've cycled through the whole list of built-in Kobo fonts and none of them are successful then you need to find a Thai-supported font-family from somewhere else (your PC, maybe) and copy those to your Kobo. They have to be copied to a directory called fonts created in the root directory of your Kobo. After you've copied them you'll probably need to do a full power cycle to get the Kobo to "see" them. The new Thai font name will be added to the standard Kobo font pop-up accessed via the 'Aa' icon in the footer. |
10-01-2017, 06:05 PM | #4 |
Enthusiast
Posts: 37
Karma: 10
Join Date: Oct 2016
Device: none
|
Many thanks
I should have thought of this. A font issue. None of the existing fonts is working with my thai text. I do no find any folder called "fonts" on my kobo... even after unmasking system and hidden files. Where is it ? Thanks |
10-01-2017, 06:18 PM | #5 |
Grand Sorcerer
Posts: 6,212
Karma: 16534894
Join Date: Sep 2009
Location: UK
Device: Kobo: KA1, ClaraHD, Forma, Libra2, Clara2E. PocketBook: TouchHD3
|
|
10-02-2017, 02:33 PM | #6 | |
Enthusiast
Posts: 37
Karma: 10
Join Date: Oct 2016
Device: none
|
Thanks !!!
It works !! I know can read thaï on my Kobo. Maybe will I need it for greek too. (I learn many languages) When you wrote Quote:
I created it and copied a font valid for thaï characters. Thanks again |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Converting azw3 to epub: character encoding issue. | meunierd | Conversion | 3 | 01-10-2013 10:11 AM |
Character encoding issue on Kindle Paperwhite | UnderXenon | Amazon Kindle | 2 | 01-02-2013 01:56 AM |
What character encoding am I seeing? | Claghorn | Conversion | 1 | 08-22-2012 10:02 AM |
how to tell the character encoding??? | rheostaticsfan | Calibre | 23 | 06-21-2010 03:26 PM |
Character encoding in the filesystem | Jellby | Bookeen | 1 | 03-30-2008 05:36 AM |