How do I set the string encoding for os.system to anything other then UTF-8?
(peter) ~ echo $LANG
nl...@euro
(peter) ~ python3
Python 3.1.1 (r311:74480, Oct 2 2009, 11:50:52)
>>> '\N{EURO SIGN}'
'€'
>>> import os
>>> os.system('echo \N{EURO SIGN}')
â?¬
0
>>>
--
Peter Kleiweg
--
http://mail.python.org/mailman/listinfo/python-list
