ó šgc:c@sldZddlZddlZejddƒZd„Zdd d„ƒYZeƒZdd d „ƒYZdS( sŽThis module adds a backwards-compatibility to the older wstring module. It is intended for use by 4Suite only; do not use it in your own code.iÿÿÿÿNs_:s- cCs%tj|ƒ}tj|tƒ}|S(N(tstringtlowert translatet_trans(tcodeset((sE/opt/freeware/lib/python2.7/site-packages/_xmlplus/unicode/iso8859.pyt _normalizest _WstringmodcBs;eZdZd„Zd„Zd„Zd„Zd„ZRS(sEmulator for old wstring modulecCs„idd6dd6dd6dd6dd6|_idd6|_xAtd ttjƒƒD]'}tj|rU||jd |9st(RR"tmapRtjoin(Rtoutput((sE/opt/freeware/lib/python2.7/site-packages/_xmlplus/unicode/iso8859.pyR6s  cCsHt|ƒ}tjj|ƒ}|dkr}tjj|ƒrXtjjtj|ƒ}n|dkr}tj d|ƒ‚q}n|dkr|j S|j }g}x–|r7x4t t |ƒƒD] }t ||ƒdkr»Pq»q»W|dkrtj||ƒ\}}|j|ƒq¢|jt|| ƒƒ||}q¢Wtj|dƒS(NsUnknown encoding: %sii€R,(RR#R R$R%R R&RRR'R"R Rtordt utf8_to_codetappendtextendtlistRR.(RRR(RtinputR/RR*((sE/opt/freeware/lib/python2.7/site-packages/_xmlplus/unicode/iso8859.pytencode>s*       (RR R!RRR6(((sE/opt/freeware/lib/python2.7/site-packages/_xmlplus/unicode/iso8859.pyR)s ((( R!RRt maketransRRRR#R(((sE/opt/freeware/lib/python2.7/site-packages/_xmlplus/unicode/iso8859.pyts