View Single Post
Old 07-02-2018, 02:19 PM   #2
Doitsu
Grand Sorcerer
Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.
 
Doitsu's Avatar
 
Posts: 5,584
Karma: 22735033
Join Date: Dec 2010
Device: Kindle PW2
Quote:
Originally Posted by Owl_ View Post
Does anyone know how to modify the txt tabfile to obtain a good html file for mobipocket creator?
Make sure to save it as a UTF8 file with a BOM (byte order mark).

Also there are several different versions of tab2opf.py floating around.

Try this version of tab2opf.py with the -utf parameter. E.g.

Code:
python tab2opf.py -utf mytabfile.txt
You also might want to use KindleGen instead of Mobipocket Creator.

Also double-check that the .opf file contains the following section:

Code:
<x-metadata>
<output encoding="utf-8"></output>
<DictionaryInLanguage>en</DictionaryInLanguage>
<DictionaryOutLanguage>it</DictionaryOutLanguage>
</x-metadata>
(You'll need to manually change the language codes generated by tab2opf.py.)
Doitsu is offline   Reply With Quote