Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 04-07-2011, 01: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
Old 04-07-2011, 11:26 AM   #2
theducks
Grand Sorcerer
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 15,244
Karma: 6020307
Join Date: Aug 2009
Location: (The original) Silicon Valley, USA
Device: Galaxy Tab 2, Astak Pocket Pro, K4NT
Do the alternate fonts exist on your i-river?
Not all devices have a full complement of fonts built in.
The font support for the language you noted had to be added as a Firmware supplement for my device.

Or you could try and embed the fonts into the book.

I suggest asking character set support questions in the i-river group
theducks is offline   Reply With Quote
 
Advertisement
Old 04-07-2011, 09:44 PM   #3
Candoumi
Junior Member
Candoumi began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Apr 2011
Device: iRiver Cover Story
Thanks.

Maybe I was not clear enough: CJK works on the iRiver (out of the box and without any issue for any utf-8 encoded *.txt files), but it works on epub only with a proper "xml:lang" declaration.

I was merely giving a simple solution to people who have -- as I did have -- problems with epub that work fine in Sigil, Calibre, FBreader, etc. but show only question marks in their e-ink reader (a problem from Adobe, if I understand well).

Last edited by Candoumi; 04-07-2011 at 09:46 PM.
Candoumi is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Strange text characters and missing chapter marks on Kindle 3 Grahamk Conversion 7 02-28-2011 03:14 AM
Typing non-ASCII characters with the keyboard Edmundo Amazon Kindle 5 01-20-2011 02:18 PM
Is it possible to sent books to device with filename in non-ascii characters? flyisland Calibre 8 10-16-2010 06:35 AM
Book titles show up with Bad characters Imatechie2006 Calibre 0 01-20-2010 07:18 PM
FAQ sheet being updated to show Search Function! Robertb Astak EZReader 6 09-18-2009 04:54 PM


All times are GMT -4. The time now is 08:16 AM.


MobileRead.com is a privately owned, operated and funded community.