unicode and os.system

jepler at unpythonic.net jepler at unpythonic.net
Fri Sep 2 23:11:56 EDT 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.sig>


More information about the Python-list mailing list