View Single Post
Old 08-20-2012, 09:38 AM   #1
Claghorn
Member
Claghorn began at the beginning.
 
Claghorn's Avatar
 
Posts: 16
Karma: 10
Join Date: Aug 2012
Device: Nexus 7
What character encoding am I seeing?

I'm trying to convert a kindle book, and I'm looking at the unpacked mobi html and have no idea what character encoding I'm seeing. The html claims to be utf8, but that is clearly a lie. For instance, I see a Ctrl-Y (0x19) in places that clearly should be rendered as an apostrophe. Other low numbered control chars ^S, ^[, ^], etc are also apparently used for some kind of characters (I think the brackets are left and right double quote).

Anyone recognize this from kindle books they have converted? Any tools to turn it into legit utf8 or html special characters?

I suppose I can fix in manually by finding all the funny chars and seeing how the text is actually rendered on my kindle, but I was hoping someone might have encountered this before.
Claghorn is offline   Reply With Quote