Thread: Aura HD ask about custom dictionary
View Single Post
Old 08-30-2013, 09:12 AM   #1
einkgood
Member
einkgood is kind to children and small, furry animalseinkgood is kind to children and small, furry animalseinkgood is kind to children and small, furry animalseinkgood is kind to children and small, furry animalseinkgood is kind to children and small, furry animalseinkgood is kind to children and small, furry animalseinkgood is kind to children and small, furry animalseinkgood is kind to children and small, furry animalseinkgood is kind to children and small, furry animalseinkgood is kind to children and small, furry animalseinkgood is kind to children and small, furry animals
 
Posts: 13
Karma: 6594
Join Date: May 2013
Device: kobo aura hd
ask about custom dictionary

for my poor english, i need to have a eng-kor dictionary
so i tried to convereting with penelope, marisa, python from stardict dictionary what i have to kobo dicthtml.zip.
almost failed, nothing but one successed. but aura cannot read korean fonts
in dictionary. (fonts were broken displayed)
so, i tried to longman and oxford eng-eng dictionary converting.
then display below:

C:\Python33>python penelope3.py -p oald -f en -t en --output-kobo
[INFO] Input dictionary has sequence type 'h'.
[INFO] Starting conversion with the following parameters:

[INFO] Dictionary file: dicthtml
[INFO] Index file: words
[INFO] Language from: en
[INFO] Language to: en
[INFO] License: GNU GPL 3
[INFO] Copyright: GNU GPL 3
[INFO] Title: Dictionary en -> en
[INFO] Description: Dictionary en -> en
[INFO] Year: 2012

[INFO] Reading input dictionaries...
[INFO] Parsing the input data...
[INFO] Using the built-in parser...
[INFO] Outputting in Kobo format to file...
Traceback (most recent call last):
File "penelope3.py", line 2094, in <module>
main()
File "penelope3.py", line 2072, in main
write_to_kobo_format(config, parsed_data, debug)
File "penelope3.py", line 1195, in write_to_kobo_format
f.write("<w><a name=\"%s\"/><div><b>%s</b><br/>%s</div></w>" % (word, word,
definition))
UnicodeEncodeError: 'cp949' codec can't encode character '\u0259' in position 83
: illegal multibyte sequence

marisa exe pathed in penelope3.py and python3.3 installed in windows 8.
please help me. kobo's dictionary is so worse!!!
einkgood is offline   Reply With Quote