ó ů^‚Rc@sndZddddgZddlZddlmZd„Zd „Zd „Zd „Z d „Z d „Z dS(s Encodings and related functions.tencode_7or8bitt encode_base64t encode_noopt encode_quoprii˙˙˙˙N(t encodestringcCs"t|dtƒ}|jddƒS(Nt quotetabst s=20(t _encodestringtTruetreplace(tstenc((s$/usr/lib/python2.7/email/encoders.pyt_qencodescCsL|s |S|ddk}tj|ƒ}| rH|ddkrH|d S|S(Ni˙˙˙˙s (tbase64R(R t hasnewlinetvalue((s$/usr/lib/python2.7/email/encoders.pyt_bencodescCs3|jƒ}t|ƒ}|j|ƒd|ds