On 16 Okt, 11:28, Helmut Jarausch <[EMAIL PROTECTED]> wrote: > > I meant setting the default encoding which is used by print (e.g.) when > outputting the internal unicode string to a file. > As far as I understood, currently I am fixed to setting either > the 'locale' or to switch settings for each output file (by settting > the _encoding property. > I wished I could override the locale settings within a Python script.
You could use the locale module. ;-) But seriously, I'd like to know whether the program I posted works with Python 2.x because there could be differences between 2.x and 3.x, and we'd obviously like to solve your problems regardless of which Python version you're using. Paul -- http://mail.python.org/mailman/listinfo/python-list