View Single Post
Old 02-05-2012, 11:05 PM   #1
ecognito
Member
ecognito began at the beginning.
 
Posts: 13
Karma: 10
Join Date: Oct 2011
Device: Kobo Aura HD
Allow zero width spaces with ebook-convert

I am writing a program that generates some HTML, and then calls ebook-convert to convert it into an EPUB file. One of the things the program does is inserts some zero width spaces in long runs of text (particularly long URLs) to facilitate the reader in line wrapping these appropriately instead of just running off the edge of the display.

Unfortunately, ebook-convert filters these characters out so I don't gain the benefits of it in my reader. (I have tested that using zero width spaces works as expected in my reader (Original Nook) by manually hacking an EPUB to add them back.)

Would it be possible to get ebook-convert to allow this character through?

References:

http://en.wikipedia.org/wiki/Zero-width_space
http://www.fileformat.info/info/unic...200b/index.htm

Thanks.

E.
ecognito is offline   Reply With Quote