11-15-2010, 09:27 AM | #1 | |
Junior Member
Posts: 1
Karma: 10
Join Date: Oct 2010
Device: Kindle 3
|
txt2html function in python
I converted txt files which include Chinese charactors in utf8 to kindle format. it makes a lot of strange signals which can not read in kindle 3. But I found that html files can be converted with no problem.
So I wrote the code to convert tx2 to html. If it can be integrate to calibre, it will be much convinced. Quote:
Best regards, Ben Luo Last edited by benluo; 11-15-2010 at 09:29 AM. Reason: modify codes |
|
Tags |
chinese, html, python, txt |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Calibre produces Python function terminated unexpectedly | roelvdh | Calibre | 6 | 09-09-2013 07:50 PM |
Python error! | didiyy | Calibre | 6 | 09-24-2010 02:05 AM |
Python 2.6 for iLiad | ericshliao | iRex | 14 | 01-28-2009 01:08 AM |
Python 2.5 or 2.6? | itimpi | Calibre | 5 | 01-19-2009 12:48 PM |
python coding... | alexxxm | Sony Reader | 8 | 01-31-2008 12:25 PM |