sys.setedefaultencoding()

Batista, Facundo FBatista at uniFON.com.ar
Fri Jul 4 15:11:30 EDT 2003


#- sys.setdefaultencoding() shouldn't be used by application programs;
#- it was added for test purposes only.
#- 
#- if you really need to change the encoding, tweak site or 
#- sitecustomize,
#- and be aware that 1) python programs you write may not work on other
#- systems, and 2) extensions may not work properly on your system.

Why? I *always* work with this type of enconding (I live in Argentina).


#- > - Why this happens?
#- 
#- site.py removes the function.

Thanks! I changed it.






More information about the Python-list mailing list