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.

 

A Django site. rendered by a django application. hosted by webfaction.