![]() |
#1 |
plus ça change
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 101
Karma: 32134
Join Date: Dec 2009
Location: France
Device: Kindle PW2, Voyage
|
0.8.63 strips non-breaking spaces when converting from epub to mobi
After upgrading this morning to the latest version of calibre, I'm noticing that non-breaking spaces (nbsp) are being turned into normal spaces when I convert from epub to mobi6.
This makes for strange-looking French punctuation, which gets broken up at the end of lines when normal spaces are used. A book I converted yesterday in 0.8.62 didn't behave this way, and the same book I converted today using an older version of calibre portable didn't either (in both cases, the non-breaking spaces were retained correctly in the mobi files). Has something changed in the latest version? Should I adjust my settings somewhere? Any help greatly appreciated! |
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,373
Karma: 27230406
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
There was a change that normalized unicode string before writing to MOBI, but that should not affect non-breaking spaces. Post an example file that exhibits the problem after conversion.
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
plus ça change
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 101
Karma: 32134
Join Date: Dec 2009
Location: France
Device: Kindle PW2, Voyage
|
Thanks for your quick reply, Kovid!
Here's the same book I converted using the two different versions of calibre installed on my system. 'NBSPs lost' was converted using the latest version. 'NBSPs retained' was converted using version 0.8.42 (portable). Many thanks for checking this out, and please let me know if you need more info. Last edited by veezh; 08-03-2012 at 09:58 AM. Reason: uploaded original epub |
![]() |
![]() |
![]() |
#4 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,373
Karma: 27230406
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Apparently, the normalizing algorithm was doing that. I've switched to a different algorithm that does not do that for the next release.
|
![]() |
![]() |
![]() |
#5 |
plus ça change
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 101
Karma: 32134
Join Date: Dec 2009
Location: France
Device: Kindle PW2, Voyage
|
That's great news -- thanks very much, Kovid.
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,373
Karma: 27230406
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
FYI: I uploaded a fixed build of 0.8.63, so if you re-download and re-install you should be fine.
|
![]() |
![]() |
![]() |
#7 |
plus ça change
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 101
Karma: 32134
Join Date: Dec 2009
Location: France
Device: Kindle PW2, Voyage
|
Terrific, thanks Kovid. Will do it now.
![]() |
![]() |
![]() |
![]() |
#8 |
plus ça change
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 101
Karma: 32134
Join Date: Dec 2009
Location: France
Device: Kindle PW2, Voyage
|
Just tried it, and it's perfect. Thanks again!
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Paragraph spaces in ePub to Mobi conversion disrupts indent formatting | markpearl | Conversion | 34 | 09-21-2011 02:42 PM |
Huge Sentence and Paragraph Spaces EPub to Mobi | Dasha | Amazon Kindle | 10 | 06-06-2011 06:43 PM |
Can't get rid of paragraph spaces converting to Mobi | vanpelten | Conversion | 7 | 03-10-2011 05:00 PM |
Non breaking spaces? | troymc | Sigil | 6 | 05-22-2010 07:47 AM |
Stephenie Meyer's Breaking Dawn free @ booksonboard MOBI and EPUB | seajewel | Deals and Resources (No Self-Promotion or Affiliate Links) | 1 | 08-05-2008 09:56 AM |