View Single Post
Old 10-29-2009, 01:01 PM   #47
Xenophon
curmudgeon
Xenophon ought to be getting tired of karma fortunes by now.Xenophon ought to be getting tired of karma fortunes by now.Xenophon ought to be getting tired of karma fortunes by now.Xenophon ought to be getting tired of karma fortunes by now.Xenophon ought to be getting tired of karma fortunes by now.Xenophon ought to be getting tired of karma fortunes by now.Xenophon ought to be getting tired of karma fortunes by now.Xenophon ought to be getting tired of karma fortunes by now.Xenophon ought to be getting tired of karma fortunes by now.Xenophon ought to be getting tired of karma fortunes by now.Xenophon ought to be getting tired of karma fortunes by now.
 
Xenophon's Avatar
 
Posts: 1,487
Karma: 5748190
Join Date: Jun 2006
Location: Redwood City, CA USA
Device: Kobo Aura HD, (ex)nook, (ex)PRS-700, (ex)PRS-500
The best approach I am aware of is to take your copy of ereader2html.py and modify it to (a) write out the pml file instead of converting to html, and (b) re-write high-ascii characters using the \aNNN syntax, where NNN is the value of the byte in octal? decimal? (I forget; check the mobileread wiki page for the format). That works around the whole problem by making sure that the contents of the pml file are fully escaped.

THEN, use Drop Book to create a new (DRM-free) ereader file, import that into Calibre, and off you go.

One reason this is a good choice is that Calibre's conversion to html seems to work much better than ereader2html's version.

As always, your mileage may vary, etc.

Xenophon
Xenophon is offline   Reply With Quote