locale.bind_textdomain_codeset()

locale.bind_textdomain_codeset(domain, codeset) → string

Bind the C library’s domain to codeset.