unicode and os.system
jepler at unpythonic.net
jepler at unpythonic.net
Sat Sep 3 05:11:56 CEST 2005
I think you need
u.encode('utf-8')
.encode() turns unicode into a byte string, .decode() turns a byte string into
unicode.
Jeff
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/python-list/attachments/20050902/bd77e7ed/attachment.pgp>
More information about the Python-list
mailing list