|
|
#1 |
|
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 671
Karma: 1405166
Join Date: Apr 2008
Device: Kindle 3G/WiFi
|
Mobi2html troubles
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 |
|
Mobile Reader Geek
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 34,205
Karma: 13801264
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Sony Reader PRS-650, iPad
|
Try using Calibre to convert to HTML and then back to Mobipocket.
__________________
|
|
|
|
|
Enthusiast
|
|
|
|
#3 |
|
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 671
Karma: 1405166
Join Date: Apr 2008
Device: Kindle 3G/WiFi
|
Thanks, will give that a try.
|
|
|
|
|
|
#4 | |
|
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,505
Karma: 2150615
Join Date: Oct 2007
Location: Linköpng, Sweden
Device: Nexus 7, Nexus S, iPad 2, Notion Ink Adam Qi, Kindle WiFi
|
Quote:
__________________
DRM is EVIL! /Tommy Persson |
|
|
|
|
|
|
#5 |
|
Fanatic
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 541
Karma: 1017253
Join Date: May 2008
Location: USA
Device: Droid Incredible, NookColor
|
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.
|
|
|
|
|
|
#6 |
|
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,505
Karma: 2150615
Join Date: Oct 2007
Location: Linköpng, Sweden
Device: Nexus 7, Nexus S, iPad 2, Notion Ink Adam Qi, Kindle WiFi
|
I totally hate to program for and solve problem for UTF-8 so Calibre is much better on handling UTF-8 coded files.
__________________
DRM is EVIL! /Tommy Persson |
|
|
|
|
|
#7 |
|
Fanatic
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 541
Karma: 1017253
Join Date: May 2008
Location: USA
Device: Droid Incredible, NookColor
|
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 09:14 PM. |
|
|
|
|
|
#8 |
|
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,505
Karma: 2150615
Join Date: Oct 2007
Location: Linköpng, Sweden
Device: Nexus 7, Nexus S, iPad 2, Notion Ink Adam Qi, Kindle WiFi
|
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.
__________________
DRM is EVIL! /Tommy Persson Last edited by tompe; 07-19-2009 at 07:42 PM. |
|
|
|
|
|
#9 |
|
Fanatic
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 541
Karma: 1017253
Join Date: May 2008
Location: USA
Device: Droid Incredible, NookColor
|
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.
Which isn't all that bad since .rtf and .txt look about the same in PalmFiction anyway.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 10:38 PM. |
|
|
|
![]() |
| Thread Tools | Search this Thread |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| mobi2html generates a 1 kb html file | newConverter | Mobi | 7 | 06-17-2010 04:12 AM |
| Mobiperl mobi2html changesetR84.zip won't unzip | cyberbaffled | Mobi | 0 | 06-15-2010 10:25 PM |
| Mobi2HTML | suecsi | Mobi | 1 | 12-10-2009 05:35 PM |
| Mobiperl Mobi2html not working | pearlheartgtr | Mobi | 5 | 11-19-2008 09:21 AM |
| Mobi2html questions and issues. | DeathtoToasters | Sony Reader | 2 | 05-12-2008 02:11 PM |