Function
email.Charset.add_codec

Signature

add_codec(charset, codecname)

Documentation String

Add a codec that map characters in the given charset to/from Unicode.

charset is the canonical name of a character set. codecname is the name of a Python codec, as appropriate for the second argument to the unicode() built-in, or to the encode() method of a Unicode string.