In message <alpine.deb.1.10.1006251708470.3...@localhost>, Peter Kleiweg wrote:
> How do I set the string encoding for os.system to anything other then > UTF-8? Works for me (on Debian Unstable): l...@theon:~> echo $LC_ALL en_NZ.utf8 l...@theon:~> python3.1 Python 3.1.2 (r312:79147, May 8 2010, 13:27:06) [GCC 4.4.4] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import os >>> os.system('echo \N{EURO SIGN}') € 0 >>> '\N{EURO SIGN}' '€' >>> -- http://mail.python.org/mailman/listinfo/python-list