|
Server IP : 162.241.148.128 / Your IP : 216.73.216.43 Web Server : Apache System : Linux md-ht-9.webhostbox.net 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64 User : caribhll ( 2226) PHP Version : 8.3.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (0755) : /usr/lib/python3.6/site-packages/pip/utils/__pycache__/ |
| [ Home ] | [ C0mmand ] | [ Upload File ] |
|---|
3
F��i� � @ sj d dl Z d dlZd dlZe jdfe jdfe jdfe jdfe jdfe jdfe j dfgZ
ejd �Zd
d� Z
dS )� N�utf8�utf16zutf16-bezutf16-le�utf32zutf32-bezutf32-les coding[:=]\s*([-\w.]+)c C s� x0t D ](\}}| j|�r| t|�d� j|�S qW xV| jd�dd� D ]@}|dd� dkrFtj|�rFtj|�j� d jd�}| j|�S qFW | jtj d��S ) z�Check a bytes string for a BOM to correctly detect the encoding
Fallback to locale.getpreferredencoding(False) like open() on Python3N�
� r � � #�asciiF)
�BOMS�
startswith�len�decode�split�ENCODING_RE�search�groups�locale�getpreferredencoding)�dataZbom�encoding�line� r �/usr/lib/python3.6/encoding.py�auto_decode s
r )�codecsr �re�BOM_UTF8� BOM_UTF16�BOM_UTF16_BE�BOM_UTF16_LE� BOM_UTF32�BOM_UTF32_BE�BOM_UTF32_LEr
�compiler r r r r r �<module> s