Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre > Conversion

Notices

Reply
 
Thread Tools Search this Thread
Old 06-19-2011, 07:22 PM   #1
draconic
Junior Member
draconic began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Jun 2011
Device: Nook
Question Quotes, apostrophes, what a pain.

I have a book I'm trying to convert from mobi to epub - but in both formats, original and converted, all the quotes and apostrophes and other such items are there and visible when the epub is exploded and viewed in HTML, but they're formatted like:

-----
|00|
|93|
-----

..for quotes, and 92 for apostrophes, etc. On the nook, they just show up as question marks.

Is there any way to tell Calibre what kind of encoding this uses and to replace number x with quotes, y with apostrophes, etc?

Thank you for the wonderful program and all the help. I apologize if this has been asked before, but searching for the specific character above in question just results in me searching for an open quote.

edit: i'd be happy to post the epub here, but i'm not sure how this forum feels about copyright issues, etc. let me know!

edit2: after exploding and viewing the epub in html, in notepad, the symbols aren't visible. in wordpad, they're all sorts of crazy. in dreamweaver, they're invisible. but in firefox, they're like those numbers above.

Last edited by draconic; 06-19-2011 at 07:43 PM.
draconic is offline   Reply With Quote
Old 06-19-2011, 07:42 PM   #2
theducks
Grand Sorcerer
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 15,268
Karma: 6022733
Join Date: Aug 2009
Location: (The original) Silicon Valley, USA
Device: Galaxy Tab 2, Astak Pocket Pro, K4NT
Quote:
Originally Posted by draconic View Post
I have a book I'm trying to convert from mobi to epub - but in both formats, original and converted, all the quotes and apostrophes and other such items are there and visible when the epub is exploded and viewed in HTML, but they're formatted like:

-----
|00|
|93|
-----

..for quotes, and 92 for apostrophes, etc. On the nook, they just show up as question marks.

Is there any way to tell Calibre what kind of encoding this uses and to replace number x with quotes, y with apostrophes, etc?

Thank you for the wonderful program and all the help. I apologize if this has been asked before, but searching for the specific character above in question just results in me searching for an open quote.

edit: i'd be happy to post the epub here, but i'm not sure how this forum feels about copyright issues, etc. let me know!
to MR

On Conversion Screen: Look and Feel: Character encoding: try cp1252

to set it as default:
Preferences: Common Options: Look and Feel: Character Encoding
theducks is online now   Reply With Quote
Old 06-19-2011, 07:53 PM   #3
draconic
Junior Member
draconic began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Jun 2011
Device: Nook
Quote:
Originally Posted by theducks View Post
to MR

On Conversion Screen: Look and Feel: Character encoding: try cp1252

to set it as default:
Preferences: Common Options: Look and Feel: Character Encoding
tried it, cp1252 didn't work. tried utf-8 too just for the hell of it - same strange number characters are in the exploded HTML still.

edit: not sure why cp1252 didn't work - looking at the table for it 00,93 link up to open quotes, etc. so why isn't it converting correctly?

HOT DAMN - i got it working. on a whim, i converted from mobi to lit with cp1252 - then from lit to epub without cp1252, and it's formatted correctly! AWESOME. thank you so much!

Last edited by draconic; 06-19-2011 at 08:08 PM.
draconic is offline   Reply With Quote
Old 06-20-2011, 12:01 PM   #4
transmitthis
Addict
transmitthis ought to be getting tired of karma fortunes by now.transmitthis ought to be getting tired of karma fortunes by now.transmitthis ought to be getting tired of karma fortunes by now.transmitthis ought to be getting tired of karma fortunes by now.transmitthis ought to be getting tired of karma fortunes by now.transmitthis ought to be getting tired of karma fortunes by now.transmitthis ought to be getting tired of karma fortunes by now.transmitthis ought to be getting tired of karma fortunes by now.transmitthis ought to be getting tired of karma fortunes by now.transmitthis ought to be getting tired of karma fortunes by now.transmitthis ought to be getting tired of karma fortunes by now.
 
transmitthis's Avatar
 
Posts: 285
Karma: 1003542
Join Date: May 2011
Device: Google Nexus 7 16GB
Thats a couple of times, when reading this forum, that problems have been helped by converting to one format, and back to another, before the final convert to the one you want. Glad you got it sorted.
transmitthis is offline   Reply With Quote
Old 12-30-2011, 11:23 AM   #5
MSWallack
Right, Except When Wrong
MSWallack ought to be getting tired of karma fortunes by now.MSWallack ought to be getting tired of karma fortunes by now.MSWallack ought to be getting tired of karma fortunes by now.MSWallack ought to be getting tired of karma fortunes by now.MSWallack ought to be getting tired of karma fortunes by now.MSWallack ought to be getting tired of karma fortunes by now.MSWallack ought to be getting tired of karma fortunes by now.MSWallack ought to be getting tired of karma fortunes by now.MSWallack ought to be getting tired of karma fortunes by now.MSWallack ought to be getting tired of karma fortunes by now.MSWallack ought to be getting tired of karma fortunes by now.
 
MSWallack's Avatar
 
Posts: 204
Karma: 1001504
Join Date: Aug 2007
Location: Indianapolis
Device: iPad Mini (but I have numerous other devices buried here & there...)
I just added a book to Calibre that had one of these formatting flaws, did a convert from ePub to ePub with the cp1252 and ... it worked! Formatting errors are gone.
MSWallack is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Change single quotes to double quotes Elfwreck Workshop 16 04-26-2013 11:06 AM
Single quotes to double quotes? lunixer General Discussions 35 10-10-2010 06:47 AM
convert straight quotes to curly quotes alansplace Calibre 3 09-25-2010 04:51 PM
Birmingham drops apostrophes HarryT Lounge 22 01-31-2009 07:44 AM
Help - Calibre stripping out apostrophes and quotes GingerTez Calibre 3 11-13-2008 05:31 PM


All times are GMT -4. The time now is 10:29 AM.


MobileRead.com is a privately owned, operated and funded community.