![]() |
#1 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 808
Karma: 2260766
Join Date: Apr 2008
Device: Kindle Oasis 2
|
Mobi2html troubles
I liberated an Amazon .azw file -- just to fix the formatting, which had double-spaces between each paragraph and quadruple spaces between sections.
The dedrm went fine, and that file looks good when I open it in Mobi reader. But when I ran the file through mobi2html to get the html, the file had problems. Random characters were thrown all over the place, and at least in one place, a paragraph simply cuts off at least 4 sentences before its supposed to. Any ideas, or alternative methods for digging out the html? I was hoping to just do a quick search and replace on whatever html markup was causing the double-spacing. |
![]() |
![]() |
![]() |
#2 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 78,202
Karma: 142517494
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Try using Calibre to convert to HTML and then back to Mobipocket.
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 808
Karma: 2260766
Join Date: Apr 2008
Device: Kindle Oasis 2
|
Thanks, will give that a try.
|
![]() |
![]() |
![]() |
#4 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,452
Karma: 7185064
Join Date: Oct 2007
Location: Linköpng, Sweden
Device: Kindle Voyage, Nexus 5, Kindle PW
|
Quote:
|
|
![]() |
![]() |
![]() |
#5 |
Fanatic
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 551
Karma: 1121392
Join Date: May 2008
Location: USA
Device: HTC One M8
|
I'm having the same problem with a Mobi (.prc) book I just bought from Diesel. I don't see the issue when viewing the unDRM'd .prc file in Calibre, so it seems to be mobi2html that is having a problem with the encoding.
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,452
Karma: 7185064
Join Date: Oct 2007
Location: Linköpng, Sweden
Device: Kindle Voyage, Nexus 5, Kindle PW
|
I totally hate to program for and solve problem for UTF-8 so Calibre is much better on handling UTF-8 coded files.
|
![]() |
![]() |
![]() |
#7 |
Fanatic
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 551
Karma: 1121392
Join Date: May 2008
Location: USA
Device: HTC One M8
|
Unfortunately Calibre refused to convert my deDRM'd file.
![]() Wait, I just tried one last time, and didn't get an error message this time...hmmm... OK, I got a file, but all the hyphens and quote marks (single and double) are replaced by question marks. I think the mobi2html output will be easier to clean up than that. Last edited by wayrad; 07-18-2009 at 10:14 PM. |
![]() |
![]() |
![]() |
#8 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,452
Karma: 7185064
Join Date: Oct 2007
Location: Linköpng, Sweden
Device: Kindle Voyage, Nexus 5, Kindle PW
|
Question marks might be the correct UTF-8 characters. Make sure that your font or program displaying the file can handle UTF-8. If it cannot it is common to get question marks.
Last edited by tompe; 07-19-2009 at 08:42 PM. |
![]() |
![]() |
![]() |
#9 |
Fanatic
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 551
Karma: 1121392
Join Date: May 2008
Location: USA
Device: HTC One M8
|
Thanks, that helped! I still haven't been able to get an error-free .rtf (my original goal), but after a bit of googling I was able to tweak Word to convert a plain text file to an error-free version.
![]() Edited to add: Got the .rtf. PRC to Epub and back to .mobi with Calibre as suggested by JSWolf earlier, then mobi2html, then convert to .rtf and final cleanup of "hellip"s and "mdash"s in Word. Last edited by wayrad; 07-19-2009 at 11:38 PM. |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
mobi2html generates a 1 kb html file | newConverter | Kindle Formats | 7 | 06-17-2010 05:12 AM |
Mobiperl mobi2html changesetR84.zip won't unzip | cyberbaffled | Kindle Formats | 0 | 06-15-2010 11:25 PM |
Mobi2HTML | suecsi | Kindle Formats | 1 | 12-10-2009 06:35 PM |
Mobiperl Mobi2html not working | pearlheartgtr | Kindle Formats | 5 | 11-19-2008 10:21 AM |
Mobi2html questions and issues. | DeathtoToasters | Sony Reader | 2 | 05-12-2008 03:11 PM |