We're back after a server migration that caused effbot.org to fall over a bit harder than expected. Expect some glitches.

sys.setdefaultencoding

setdefaultencoding(name)

Set the current default string encoding used by the Unicode implementation. If name does not match any available encoding, LookupError is raised. This function is only intended to be used by the site module implementation and, where needed, by sitecustomize. Once used by the site module, it is removed from the sys module’s namespace. New in version 2.0.