View Single Post
Old 08-11-2008, 09:17 PM   #1
hidden.id
Junior Member
hidden.id began at the beginning.
 
Posts: 2
Karma: 10
Join Date: May 2008
Device: SONY PRS 505
central europe - embedded fonts

hi,
i read lots of threads here about conversions, fonts etc., but my problem is still unsolved

I'm trying to convert txt file2lrf, but im from central europe, exactly slovakia
And problem? Some special characters like ř, ť are impossible to display correctly

Everything looks OK in callibre's viewer, however in PRS 505 are mentioned characters missing... I tried to encode txt files also in encodings cp852, cp1250, iso8859_2 but the results weren't also satisfying

btw when i'm converting in callibre with utf-8 encoding this log appears
('UnicodeDecodeError', u"'utf8' codec can't decode bytes in position 24-26: invalid data"):
Failed to perform job: Convert book: Dostojevskij, Fjodor Michajlovic
Detailed traceback:
Traceback (most recent call last):
File "parallel.py", line 760, in worker
File "parallel.py", line 729, in work
File "C:\Program Files\calibre\library.zip\calibre\ebooks\lrf\any\c onvert_from.py", line 167, in main
File "C:\Program Files\calibre\library.zip\calibre\ebooks\lrf\any\c onvert_from.py", line 137, in process_file
File "C:\Program Files\calibre\library.zip\calibre\ebooks\lrf\txt\c onvert_from.py", line 66, in process_file
File "C:\Program Files\calibre\library.zip\calibre\ebooks\lrf\txt\c onvert_from.py", line 45, in generate_html
File "codecs.pyo", line 618, in read
File "codecs.pyo", line 424, in read
UnicodeDecodeError: 'utf8' codec can't decode bytes in position 24-26: invalid data
Log:
''

so how am i supposed to edit txt file? or just how can i create txt which will be convertable?

sry for my eng, but i hope that the text above is understable, if there's any questions, just ask me

thx

li.

Last edited by hidden.id; 08-11-2008 at 09:30 PM.
hidden.id is offline   Reply With Quote