|
|
#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>
|
|
|
|
|
|
#2 |
|
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 974
Karma: 13558066
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.
|
|
|
|
| Advert | |
|
|
|
|
#3 |
|
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,270
Karma: 16544702
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
|
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. |
|
|
|
|
|
#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 |
|
|
|
|
|
#5 |
|
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,270
Karma: 16544702
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
|
|
|
|
|
| Advert | |
|
|
|
|
#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 11:11 AM |
| Character encoding issue on Kindle Paperwhite | UnderXenon | Amazon Kindle | 2 | 01-02-2013 02:56 AM |
| What character encoding am I seeing? | Claghorn | Conversion | 1 | 08-22-2012 11:02 AM |
| how to tell the character encoding??? | rheostaticsfan | Calibre | 23 | 06-21-2010 04:26 PM |
| Character encoding in the filesystem | Jellby | Bookeen | 1 | 03-30-2008 06:36 AM |