Current File : //proc/thread-self/root/proc/thread-self/root/lib/python2.7/site-packages/pip/utils/encoding.pyc
�
��abc@s�ddlZddlZddlZejdfejdfejdfejdfejdfejdfej dfgZ
ejd �Zd
�Z
dS(i����Ntutf8tutf16sutf16-besutf16-letutf32sutf32-besutf32-lescoding[:=]\s*([-\w.]+)cCs�x:tD]2\}}|j|�r|t|�j|�SqWxl|jd�d D]W}|dd!dkrQtj|�rQtj|�j�djd�}|j|�SqQW|jtj t
��S(s�Check a bytes string for a BOM to correctly detect the encoding
Fallback to locale.getpreferredencoding(False) like open() on Python3s
iiit#tascii(tBOMSt
startswithtlentdecodetsplittENCODING_REtsearchtgroupstlocaletgetpreferredencodingtFalse(tdatatbomtencodingtline((s6/usr/lib/python2.7/site-packages/pip/utils/encoding.pytauto_decodes""(tcodecsR
tretBOM_UTF8t BOM_UTF16tBOM_UTF16_BEtBOM_UTF16_LEt BOM_UTF32tBOM_UTF32_BEtBOM_UTF32_LERtcompileR
R(((s6/usr/lib/python2.7/site-packages/pip/utils/encoding.pyt<module>s