Write Unicode str as utf-8
kent sin
kentsin at yahoo.com
Mon Feb 14 20:07:41 EST 2005
Python support unicode, but some library don't. Write
is one of them.
When writing a csv file, The rows contains numbers and
unicode str. It is a little pain to first convert all
unicode str to utf-8 before writing the row.
Are there anyway I can patch python such that It will
convert the unicode string to utf-8 before the write?
Where should I start?
Best rgs,
Kent Sin
More information about the Python-list
mailing list