View Single Post
Old 10-13-2011, 09:02 PM   #1
Halk
Fanatic
Halk ought to be getting tired of karma fortunes by now.Halk ought to be getting tired of karma fortunes by now.Halk ought to be getting tired of karma fortunes by now.Halk ought to be getting tired of karma fortunes by now.Halk ought to be getting tired of karma fortunes by now.Halk ought to be getting tired of karma fortunes by now.Halk ought to be getting tired of karma fortunes by now.Halk ought to be getting tired of karma fortunes by now.Halk ought to be getting tired of karma fortunes by now.Halk ought to be getting tired of karma fortunes by now.Halk ought to be getting tired of karma fortunes by now.
 
Halk's Avatar
 
Posts: 538
Karma: 469999
Join Date: Feb 2008
Location: Scotland
Device: Sony PRS-650 (PRS+ alpha - thanks Kartu!)
Punctuation problems

I had punctuation problems this evening with Calibre. It'd remove or confuse much of the punctuation in documents.

This was because Calibre was not guessing correctly the encoding of the html file. It was ansi. After reading several threads I tried several things, what I expected to work was changing the html2zip configuration to use ansi but it didn't.

I'm posting because I found a rather elegant and helpful way around it.

Open up the html in notepad++. On the encoding menu select whatever encoding you need to in order to see the punctuation properly (for me notepad++ had already selected ansi which was correct), on the same menu select convert to utf-8. Save the file and use that in Calibre. For me that got around any problems.
Halk is offline   Reply With Quote