View Single Post
Old 12-24-2012, 02:27 PM   #2
dgatwood
Curmudgeon
dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.
 
Posts: 322
Karma: 1028382
Join Date: Jan 2012
Device: iPad, iPhone, Nook Simple Touch
Sounds like the MOBI file contains an invalid UTF-8 character. Not all arbitrary strings of bytes are valid UTF-8 data, and apparently Calibre is trying to parse the UTF-8 data during the conversion process for some reason. In my experience, these errors usually indicate that the text encoding is not actually UTF-8 (e.g. ISO-8859-1).

See also Calibre bug 1057331 at:

https://bugs.launchpad.net/calibre/+bug/1057331

There probably ought to be a means of overriding the encoding when working with MOBI files that incorrectly specify their encoding. Either that or an option to use the C local (one byte = one character, with no interpretation thereof) and let the user fix the encoding problem in the resulting EPUB file (which is much easier to work with, since it's basically just a ZIP file).
dgatwood is offline   Reply With Quote