>> You're forgetting about print; in Python 2.x, when stdout is connected to a
>> terminal, the locale settings (typically the LANG, LC_ALL and LC_CTYPE
>> environment variables) are taken into account when 'print' writes to
>> sys.stdout.
> 
> Isn't it then enough to make sure your locale setting are correct?
> (Never had any problems myself, if works great in Ubuntu).

It's much more difficult on OS X, for example, which doesn't really
support the concept of locales (at least prior to 10.5).

There are other odd cases, like the Eclipse one I mentioned. Setting
the locale doesn't help there.

Regards,
Martin
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to