email.charset.add_codec()

email.charset.add_codec(charset, codecname)

Add a codec that map characters in the given character set to and 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 str‘s encode() method.

doc_python
2016-10-07 17:32:18
Comments
Leave a Comment

Please login to continue.