ó q®¸Qc@sÅddddgZddlZddlZddlZddlmZddlmZdZd Z d Z d Z d Z ieedfd 6eedfd6eedfd6eedfd6eedfd6eedfd6eedfd6eedfd6eedfd6eedfd6eedfd6eedfd6dAd 6e e dfd6e e dfd6e ddfd6e ddfd6e ddfd6e e dfd6e e dfd6de dfd 6Zid d!6d d"6dd#6dd$6dd%6dd&6dd'6dd(6dd)6dd*6dd+6dd,6dd-6dd.6dd/6dd06dd16dd26dd36dd46d5d66dd76d8d96d d:6Zid;d6d<d6dd 6Zdddd=„Zd>„Zd?„ZddBd@„ƒYZdS(CtCharsett add_aliast add_charsett add_codeciÿÿÿÿN(terrors(tencode_7or8bitiiiisus-asciis iso-8859-1s iso-8859-2s iso-8859-3s iso-8859-4s iso-8859-9s iso-8859-10s iso-8859-13s iso-8859-14s iso-8859-15s iso-8859-16s windows-1252tvisciitbig5tgb2312s iso-2022-jpseuc-jpt shift_jisskoi8-rsutf-8t8bittlatin_1slatin-1tlatin_2slatin-2tlatin_3slatin-3tlatin_4slatin-4tlatin_5slatin-5tlatin_6slatin-6tlatin_7slatin-7tlatin_8slatin-8tlatin_9slatin-9tlatin_10slatin-10sks_c_5601-1987tcp949teuc_jpseuc-krteuc_krtasciit eucgb2312_cntbig5_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. s!SHORTEST not allowed for body_encN(tSHORTESTt ValueErrortCHARSETS(tcharsett header_enctbody_enctoutput_charset((s#/sys/lib/python2.7/email/charset.pyRls cCs|t|t__repr__RARBRFRHRJtTrueRNROR[tFalseR]R^(((s#/sys/lib/python2.7/email/charset.pyRœs+ &          (NNN((t__all__R-temail.base64mimeRPtemail.quoprimimeRtemail.encodersRRER3RRTRbR4RR"R%RRRR(((s#/sys/lib/python2.7/email/charset.pytsˆ