Martin v. Löwis wrote:
What defines me as latin1-user?
That your locale is based on Latin-1, e.g. because it is a German
locale. How precisely that works depends on the operating system.
So my system seems to be an ASCII system?
At least that's what Python determined. If Python couldn't have found
out that you usually use Latin-1, your system is misconfigured. If
Python could have found out, but failed to do so, it's a bug in Python.
Many thanks, it works when setting the LANG environment variable.
Still, I wished it were possible call sys.setdefaultencoding
at the very beginning of a script.
Why isn't that possible?
Helmut.
--
Helmut Jarausch
Lehrstuhl fuer Numerische Mathematik
RWTH - Aachen University
D 52056 Aachen, Germany
--
http://mail.python.org/mailman/listinfo/python-list