getdefaultencoding()

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