View Single Post
Old 11-10-2014, 04:35 PM   #39
dash.
Member
dash. can differentiate black from dark navy bluedash. can differentiate black from dark navy bluedash. can differentiate black from dark navy bluedash. can differentiate black from dark navy bluedash. can differentiate black from dark navy bluedash. can differentiate black from dark navy bluedash. can differentiate black from dark navy bluedash. can differentiate black from dark navy bluedash. can differentiate black from dark navy bluedash. can differentiate black from dark navy bluedash. can differentiate black from dark navy blue
 
Posts: 10
Karma: 13126
Join Date: Nov 2014
Device: Sony PRS-T2, Kobo H2O
Just tried to convert a StarDict to Kobo-Format under Win7(ger), but failed.

The html files were created and zipped, but with messed up filenames:
(ä instead of Ä and etc.)
Code:
11.html
Ã*a.html
äa.html
äb.html
äc.html
...
...
zä.html
zö.html
zü.html
...
zz.html
Looks like UTF8/Latin-1 mixup. Any suggestions?

my batch file:
Code:
SET DictFilename=Custom_German_English_dictionary

cd C:\Python27\_ConvertKobo

"C:\Python27\python.exe" "C:\Python27\penelope_v2.0.0\penelope.py" -p "%DictFilename%" -f de -t en --output-kobo
pause
Soft used:
Win7 (GER) 64bit + penelope v2.0.0 + marisa v0.2.4 + pyglossary v2011.06.16 + python v2.7.8


UPDATE/EDIT:
just tested the created zip file with those "messed up filenames" on my Kobo H2O and it worked. So apparently misnamed html files do work too.
Kudos Alberto for creating this great tool.

Last edited by dash.; 11-14-2014 at 03:21 PM.
dash. is offline   Reply With Quote