Unicode and default encodings

Fredrik Lundh fredrik at effbot.org
Sat Dec 16 12:48:29 EST 2000

Boudewijn Rempt wrote:
> I'm currently trying to work with Unicode strings, and
> I was kind of wondering where sys.setdefaultencoding has
> gone to - it's still mentioned in Misc/unicode.txt, but
> it isn't there anymore ;-)

You can use it in sitecustomize.py, but not in user code.
See Lib/site.py for details.


More information about the Python-list mailing list