[wxPython-users] Re: Re: OT Unicode, Locales and Python (for
a wxPy app)
Werner F. Bruhin
werner.bruhin at free.fr
Thu Dec 14 10:10:46 PST 2006
Hi Donn,
Donn Ingle wrote:
> Werner,
> Thanks for the setdefaultencoding idea!
>
> BTW:
>
>> sys.setdefaultencoding('iso-8859-1')
>> del sys.setdefaultencoding
>>
> Why do you have that del ?
>
Frankly, I can't remember. I must have thought if this is the normal
behaviour of Python and as I do it this way instead of using
sitecustomize.py I should go and delete it.
I can not remember how I found out about this, but here some links:
http://blog.ianbicking.org/illusive-setdefaultencoding.html
http://www.diveintopython.org/xml_processing/unicode.html
Werner
More information about the wxpython-users
mailing list