Thread: EPUB output
View Single Post
Old 05-10-2009, 04:54 AM   #476
thawk
Connoisseur
thawk began at the beginning.
 
Posts: 57
Karma: 10
Join Date: Oct 2008
Device: prs 505
hi, kovidgoyal

I found a bug relatived to encoding.

I has a txt file with gbk encoding, so I use any2epub with --encoding gbk. Any2epub convert the txt from gbk txt to utf-8 html, it's ok. But, in the second step, any2epub pass the original encoding opts (gbk) to html2epub, so the final result is wrong.

I think changing the encoding opts to utf-8 before calling html2epub should fix it.
thawk is offline   Reply With Quote