View Single Post
Old 07-14-2012, 02:33 PM   #13
Rockbobster
Member
Rockbobster knows what is on the back of the AURYN.Rockbobster knows what is on the back of the AURYN.Rockbobster knows what is on the back of the AURYN.Rockbobster knows what is on the back of the AURYN.Rockbobster knows what is on the back of the AURYN.Rockbobster knows what is on the back of the AURYN.Rockbobster knows what is on the back of the AURYN.Rockbobster knows what is on the back of the AURYN.Rockbobster knows what is on the back of the AURYN.Rockbobster knows what is on the back of the AURYN.Rockbobster knows what is on the back of the AURYN.
 
Rockbobster's Avatar
 
Posts: 13
Karma: 9998
Join Date: Feb 2011
Location: West Coast
Device: Handspring Visor, Vtech Helio, Dell Axim x50v, Jetbook Lite, HTC Eris
I had a text file that had the em-dash throughout. The author liked ending sentences with it. Calibre would output an epub that corrupted it to a black box or other random character, whether in PC based ereader or my Jetbook.

Experimenting with assorted Calibre filters did not repair this, so here is what I did.

I loaded the epub in Sigil. Then I highlighted the first em-dash and copied to clipboard. I called up the search and replace menu, which had the highlighted character in the search field. Then I went to Windows character map and selected an em-dash from there, copied to clipboard and pasted it in the "replace with" field.

I selected to "replace all" in all html files, and a few seconds later it was done. The saved file rendered the em-dashes properly in all my ereaders.
Rockbobster is offline   Reply With Quote