/usr/lib/python2.6/email
NameSizeModeActions
mime/-0755rm
base64mime.py57920644editdlrm
base64mime.pyc53360644editdlrm
base64mime.pyo53360644editdlrm
charset.py157910644editdlrm
charset.pyc134140644editdlrm
charset.pyo133650644editdlrm
encoders.py23020644editdlrm
encoders.pyc24080644editdlrm
encoders.pyo24080644editdlrm
errors.py16280644editdlrm
errors.pyc34990644editdlrm
errors.pyo34990644editdlrm
feedparser.py206060644editdlrm
feedparser.pyc112680644editdlrm
feedparser.pyo111710644editdlrm
generator.py140620644editdlrm
generator.pyc103460644editdlrm
generator.pyo103460644editdlrm
header.py217380644editdlrm
header.pyc134900644editdlrm
header.pyo134210644editdlrm
iterators.py22020644editdlrm
iterators.pyc23830644editdlrm
iterators.pyo23830644editdlrm
message.py304460644editdlrm
message.pyc285610644editdlrm
message.pyo285610644editdlrm
parser.py33000644editdlrm
parser.pyc38370644editdlrm
parser.pyo38370644editdlrm
quoprimime.py108390644editdlrm
quoprimime.pyc89090644editdlrm
quoprimime.pyo89090644editdlrm
utils.py98190644editdlrm
utils.pyc90360644editdlrm
utils.pyo90360644editdlrm
_parseaddr.py149810644editdlrm
_parseaddr.pyc136490644editdlrm
_parseaddr.pyo136490644editdlrm
__init__.py28560644editdlrm
__init__.pyc28640644editdlrm
__init__.pyo28640644editdlrm
Edit: /usr/lib/python2.6/email/charset.pyc (13414B)
Ñò «gc@s¹ddddgZddkZddkZddklZddklZdZd Zd Z d Z d Z heedfd 6eedfd6eedfd6eedfd6eedfd6eedfd6eedfd6eedfd6eedfd6eedfd6eedfd6eedfd6dAd 6eedfd6eedfd6eddfd6eddfd6eddfd6eedfd6e edfd6dedfd 6Z hd d!6d d"6dd#6dd$6dd%6dd&6dd'6dd(6dd)6dd*6dd+6dd,6dd-6dd.6dd/6dd06dd16dd26dd36dd46d5d66dd76d8d96d d:6Zhd;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_twcCs4|tjotdƒ‚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#/usr/lib/python2.6/email/charset.pyRks cCs|t|scCsÈ|iƒ}|itjotii|ƒt|ƒtS|itjoti i |ƒt|ƒtS|it jo@tii|ƒ}ti i |ƒ}t ||ƒt|ƒtSt|ƒSdS(s/Return the length of the encoded header string.N( RLR1R/temailt base64mimet base64_lentlentMISC_LENRAt quoprimimetheader_quopri_lenRtmin(R5RCtcsettlenb64tlenqp((s#/usr/lib/python2.6/email/charset.pytencoded_header_lenFs cCsî|iƒ}|o|i|ƒ}n|itjotii||ƒS|itjotii||ddƒS|it jobtii |ƒ}tii |ƒ}||jotii||ƒStii||ddƒSn|SdS(sEHeader-encode a string, optionally converting it to output_charset. If convert is True, the string will be converted from the input charset to the output charset automatically. This is not useful for multibyte character sets, which have line length issues (multibyte characters must be split on a character, not a byte boundary); use the high-level Header class to deal with these issues. convert defaults to False. The type of encoding (base64 or quoted-printable) will be based on self.header_encoding. t maxlinelenN( RLRDR1R/RMRNt header_encodeRARRR0RRORS(R5RCRDRURVRW((s#/usr/lib/python2.6/email/charset.pyRZUs  cCsd|o|i|ƒ}n|itjotii|ƒS|itjotii|ƒS|SdS(sÉBody-encode a string and convert it to output_charset. If convert is True (the default), the string will be converted from the input charset to output charset automatically. Unlike header_encode(), there are no issues with byte boundaries and multibyte charsets in email bodies, so this is usually pretty safe. The type of encoding (base64 or quoted-printable) will be based on self.body_encoding. N(RDR2R/RMRNt body_encodeRARR(R5RCRD((s#/usr/lib/python2.6/email/charset.pyR[ts (t__name__t __module__t__doc__tDEFAULT_CHARSETR9R:t__repr__R=R>RBRDRGtTrueRKRLRXtFalseRZR[(((s#/usr/lib/python2.6/email/charset.pyR›s+ !          (NNN((t__all__temail.base64mimeRMtemail.quoprimimeRtemail.encodersRRAR/RRQR_R0RR"R%RRRR(((s#/usr/lib/python2.6/email/charset.pyts†