ž qyMaCCc@sÚddddgZddlmZddlZddlZddlmZddlmZd Z d Z d Z d Z d Z dZdZie e dfd6e e dfd6e e dfd6e e dfd6e e dfd6e e dfd6e e dfd6e e dfd6e e dfd6e e dfd6e e dfd6e e dfd6dEd 6e e dfd6e e dfd6e ddfd6e ddfd 6e ddfd6e e dfd!6e e d"fd"6Zidd#6dd$6dd%6dd&6dd'6dd(6dd)6dd*6dd+6dd,6dd-6dd.6dd/6dd06dd16dd26dd36dd46dd56dd66d7d86dd96d:d;6d d<6Zid=d6d>d6dd 6Zdddd?d„Zd@d„ZdAd„ZdBdC„ZGdDd„dƒZdS(FuCharsetu add_aliasu add_charsetu add_codeci(upartialN(uerrors(uencode_7or8bitiiiiuus-asciiu unknown-8bituu iso-8859-1u iso-8859-2u iso-8859-3u iso-8859-4u iso-8859-9u iso-8859-10u iso-8859-13u iso-8859-14u iso-8859-15u iso-8859-16u windows-1252uvisciiubig5ugb2312u iso-2022-jpueuc-jpu shift_jisukoi8-ruutf-8ulatin_1ulatin-1ulatin_2ulatin-2ulatin_3ulatin-3ulatin_4ulatin-4ulatin_5ulatin-5ulatin_6ulatin-6ulatin_7ulatin-7ulatin_8ulatin-8ulatin_9ulatin-9ulatin_10ulatin-10uks_c_5601-1987ucp949ueuc_jpueuc-krueuc_kruasciiu eucgb2312_cnubig5_twcCs2|tkrtdƒ‚n|||ft|Add character set properties to the global registry. charset is the input character set, and must be the canonical name of a character set. Optional header_enc and body_enc is either Charset.QP for quoted-printable, Charset.BASE64 for base64 encoding, Charset.SHORTEST for the shortest of qp or base64 encoding, or None for no encoding. SHORTEST is only valid for header_enc. It describes how message headers and message bodies in the input charset are to be encoded. Default is no encoding. Optional output_charset is the character set that the output should be in. Conversions will proceed from input charset, to Unicode, to the output charset when the method Charset.convert() is called. The default is to output in the same character set as the input. Both input_charset and output_charset must have Unicode codec entries in the module's charset-to-codec mapping; use add_codec(charset, codecname) to add codecs the module does not know about. See the codecs module's documentation for more information. u!SHORTEST not allowed for body_encN(uSHORTESTu ValueErroruCHARSETS(ucharsetu header_encubody_encuoutput_charset((u2/opt/alt/python33/lib64/python3.3/email/charset.pyu add_charsetms cCs|t| (NNN(u__all__u functoolsupartialuemail.base64mimeuemailuemail.quoprimimeuerrorsuemail.encodersuencode_7or8bituQPuBASE64uSHORTESTuRFC2047_CHROME_LENuDEFAULT_CHARSETu UNKNOWN8BITu EMPTYSTRINGuNoneuCHARSETSuALIASESu CODEC_MAPu add_charsetu add_aliasu add_codecu_encodeuCharset(((u2/opt/alt/python33/lib64/python3.3/email/charset.pyusŒ