Comment #5 on issue 1156 by niejieqiang: 转换码表的时候出现 UnicodeEncodeError:
http://code.google.com/p/ibus/issues/detail?id=1156

那错误应是这样.

m...@laptop:/usr/share/ibus-table/tables$ sudo ibus-table-createdb -n zhengma_danzi.db -s zhengma_danzi.txt
Traceback (most recent call last):
  File "/usr/share/ibus-table/engine/tabcreatedb.py", line 297, in <module>
    main ()
  File "/usr/share/ibus-table/engine/tabcreatedb.py", line 226, in main
    phrases = phrase_parser ( table)
File "/usr/share/ibus-table/engine/tabcreatedb.py", line 165, in phrase_parser
    list.append ( (xingma, phrase, int(freq), 0) )
ValueError: invalid literal for int() with base 10: '0brs'
m...@laptop:/usr/share/ibus-table/tables$

--
You received this message because you are subscribed to the Google
Groups "ibus-devel" group.
iBus project web page: http://code.google.com/p/ibus/
iBus dev group: http://groups.google.com/group/ibus-devel?hl=en

回复