how to write a unicode string to a file ?
By writing the following unicode string (I hope it can be send on this
to a file
fh.write ( line )
I get the following error:
UnicodeEncodeError: 'ascii' codec can't encode character u'\xfc' in
position 9: ordinal not in range(128)
How should I write such a string to a file ?
|All times are GMT. The time now is 02:55 PM.|
Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.