View Single Post
Old 10-23-2009, 12:11 AM   #1
wygit doesn't litterwygit doesn't litter
wygit's Avatar
Posts: 33
Karma: 112
Join Date: Jul 2009
Device: Sony PRS-505
Bad character breaking conversion?

I was going nuts trying to figure out why I was only getting half a book converted from html to epub, and discovered that the textfile ahd a few odd characters. Hex 1C and 1F .

The thing that was troubling, though, was that Calibre didn't give an error, it just acted like it was done, and created an epub that had pages 1-99 of a 240 page book.

I didn't even discover the issue until I was reading the book, and hit 'next page', and .. um... huh?

Mac OSX 10.6, Calibre 6.19

Html is just vanilla html, converted from a textfile. I have a small regular expression set I use.

Any reason you can think of why Calibre wouldn't report an error, but just created a truncated epub?
wygit is offline   Reply With Quote