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

sys.getdefaultencoding

getdefaultencoding()

Return the name of the current default string encoding used by the Unicode implementation. New in version 2.0.