Quantcast
Channel: MobileRead Forums - Kobo Reader
Viewing all articles
Browse latest Browse all 11140

Glo Footnote encoding problem in kepub.epub

$
0
0
Hi,


I noticed that an ebook I made a few months ago had some problem displaying the utf-8 characters in the popup footnote.

In this test kepub.epub, the following line is clickable, and a footnote appears with the exact same text.

Code:

"French accents: ê, Â; È; Chinese: 乾;"
But I what I get in the footnote is in ANSI, not utf-8:

Code:

French accents: ê, Â; È; Chinese: 乾;
Can someone try it, and maybe tell me what is wrong in my syntax:


Code:

<?xml version="1.0" encoding="utf-8" standalone="no"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
  "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xmlns:epub="http://www.idpf.org/2007/ops">
<head>
  <title>Test popup footnote encoding</title>
</head>

<body>
  <header>
    <h1>Test</h1>
  </header>

  <p><b>Click on the paragraph below:</b> the exact same line should appear as a footnote.</p>

  <p><br />
  <a epub:type="noteref" href="#n1" title="French accents: ê, Â; È; Chinese: 乾;">French accents: ê, Â; È; Chinese: 乾;</a> </p>

  <section epub:type="rearnotes" style="display:none">
    <aside class="hidden" epub:type="footnote" id="n1">French accents: ê, Â; È; Chinese: 乾;</aside>
  </section>
</body>
</html>

Note that this code didn't work for me as epub...

Regards

François

Attached Files
File Type: epub Test Footnote popup encoding.kepub.epub (2.1 KB)

Viewing all articles
Browse latest Browse all 11140

Trending Articles