View Single Post
Old 04-07-2011, 12:59 AM   #1
Candoumi
Junior Member
Candoumi began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Apr 2011
Device: iRiver Cover Story
non-ASCII characters show up as question marks on my Reader (from FAQ)

Hello, I saw this question in the FAQ:

> Why do some of my non-ASCII characters appear correctly in Sigil, but show up as question marks on my Reader or in Adobe Digital Editions?

At least for Chinese, a simple xml:lang="zh-CN" (for simplified Chinese) or xml:lang="zh-TW" (for traditional Chinese) declaration in the <html> element makes characters show properly in my e-ink reader (a newly bought iRiver Cover Story).

i.e.: <html xmlns="http://www.w3.org/1999/xhtml" xmlns:xml="http://www.w3.org/XML/1998/namespace" xml:lang="zh-TW">

Without the lang declaration, I only get question marks (for example with epub from Gutenberg.org).

I assume it may work for other languages too.

I have yet to find the trick for mixing languages in the same document (<span xml:lang="xx-XX"></span> in the text does not work for me).
Candoumi is offline   Reply With Quote