AlkantarClanX12

Your IP : 3.147.104.18


Current Path : /opt/alt/python27/lib64/python2.7/email/
Upload File :
Current File : //opt/alt/python27/lib64/python2.7/email/encoders.pyc

�
^
bc@sndZddddgZddlZddlmZd�Zd	�Zd
�Zd�Z	d�Z
d
�ZdS(s Encodings and related functions.tencode_7or8bitt
encode_base64tencode_noopt
encode_quoprii����N(tencodestringcCs"t|dt�}|jdd�S(Nt	quotetabst s=20(t
_encodestringtTruetreplace(tstenc((s3/opt/alt/python27/lib64/python2.7/email/encoders.pyt_qencodescCsL|s
|S|ddk}tj|�}|rH|ddkrH|d S|S(Ni����s
(tbase64R(R
t
hasnewlinetvalue((s3/opt/alt/python27/lib64/python2.7/email/encoders.pyt_bencodescCs3|j�}t|�}|j|�d|d<dS(slEncode the message's payload in Base64.

    Also, add an appropriate Content-Transfer-Encoding header.
    R
sContent-Transfer-EncodingN(tget_payloadRtset_payload(tmsgtorigtencdata((s3/opt/alt/python27/lib64/python2.7/email/encoders.pyR's
cCs3|j�}t|�}|j|�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((s3/opt/alt/python27/lib64/python2.7/email/encoders.pyR3s
cCsc|j�}|dkr&d|d<dSy|jd�Wntk
rTd|d<nXd|d<dS(s9Set the Content-Transfer-Encoding header to 7bit or 8bit.t7bitsContent-Transfer-EncodingNtasciit8bit(RtNonetencodetUnicodeError(RR((s3/opt/alt/python27/lib64/python2.7/email/encoders.pyR?s

cCsdS(sDo nothing.N((R((s3/opt/alt/python27/lib64/python2.7/email/encoders.pyRQt(t__doc__t__all__R
tquopriRRRRRRRR(((s3/opt/alt/python27/lib64/python2.7/email/encoders.pyt<module>s