Files
PowerToys/PythonHome/Lib/email/encoders.pyc

16 lines
2.1 KiB
Plaintext
Raw Normal View History

2014-07-09 18:15:23 +08:00
<03>
<EFBFBD>W`Sc@sndZddddgZddlZddlmZd<00>Zd <00>Zd
<00>Zd <00>Z d <00>Z
d <00>Z dS(s Encodings and related functions.tencode_7or8bitt encode_base64t encode_noopt encode_quoprii<69><69><EFBFBD><EFBFBD>N(t encodestringcCs"t|dt<00>}|jdd<00>S(Nt quotetabst s=20(t _encodestringtTruetreplace(tstenc((s!C:\Python27\lib\email\encoders.pyt_qencodescCsL|s
|S|ddk}tj|<00>}| rH|ddkrH|d S|S(Ni<4E><69><EFBFBD><EFBFBD>s
(tbase64R(R
t
hasnewlinetvalue((s!C:\Python27\lib\email\encoders.pyt_bencodescCs3|j<00>}t|<00>}|j|<00>d|d<dS(slEncode the message's payload in Base64.
Also, add an appropriate Content-Transfer-Encoding header.
R sContent-Transfer-EncodingN(t get_payloadRt set_payload(tmsgtorigtencdata((s!C:\Python27\lib\email\encoders.pyR's   cCs3|j<00>}t|<00>}|j|<00>d|d<dS(svEncode the message's payload in quoted-printable.
Also, add an appropriate Content-Transfer-Encoding header.
squoted-printablesContent-Transfer-EncodingN(RR R(RRR((s!C:\Python27\lib\email\encoders.pyR3s   cCsc|j<00>}|dkr&d|d<dSy|jd<00>Wntk
rTd|d<n Xd|d<dS(s9Set the Content-Transfer-Encoding header to 7bit or 8bit.t7bitsContent-Transfer-EncodingNtasciit8bit(RtNonetencodet UnicodeError(RR((s!C:\Python27\lib\email\encoders.pyR?s  
 cCsdS(s Do nothing.N((R((s!C:\Python27\lib\email\encoders.pyRQs( t__doc__t__all__R tquopriRRR RRRRR(((s!C:\Python27\lib\email\encoders.pyt<module>s