inserting Unicode character in dictionary - Python
gita ziabari
gitaziabari at gmail.com
Fri Oct 17 13:07:38 EDT 2008
Hello All,
The following code does not work for unicode characters:
keyword = dict()
kw = 'генских'
keyword.setdefault(key, []).append (kw)
It works fine for inserting ASCII character. Any suggestion?
Thanks,
Gita
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20081017/f9d93629/attachment.html>
More information about the Python-list
mailing list