View Single Post
Old 10-01-2017, 09:12 AM   #1
Frenchguy
Enthusiast
Frenchguy began at the beginning.
 
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"/>
but not a single thaļ character is visible on my Kobo. It is visible though when i open the file in Calibre.

I tried
Code:
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
and
Code:
<meta charset="UTF-8">
but they don't work either.

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>
Thanks fr your help.
Frenchguy is offline   Reply With Quote