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.
But I what I get in the footnote is in ANSI, not utf-8:
Can someone try it, and maybe tell me what is wrong in my syntax:
Note that this code didn't work for me as epub...
Regards
François
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: 乾;"
Code:
French accents: ê, Ã; Ã; Chinese: ä¹¾;
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>
Regards
François