Server IP : 80.87.202.40 / Your IP : 216.73.216.169 Web Server : Apache System : Linux rospirotorg.ru 5.14.0-539.el9.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Dec 5 22:26:13 UTC 2024 x86_64 User : bitrix ( 600) PHP Version : 8.2.27 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /lib64/python3.11/encodings/__pycache__/ |
Upload File : |
� �=Og% � � � d Z ddlZdd�Zdd�Z G d� dej � � Z G d� d ej � � Z G d � dej � � Z G d� d ej � � Zd� Z dS )a Python 'utf-8-sig' Codec This work similar to UTF-8 with the following changes: * On encoding/writing a UTF-8 encoded BOM will be prepended/written as the first three bytes. * On decoding/reading if the first three bytes are a UTF-8 encoded BOM, these bytes will be skipped. � N�strictc �p � t j t j | |� � d z t | � � fS �Nr )�codecs�BOM_UTF8�utf_8_encode�len)�input�errorss �,/usr/lib64/python3.11/encodings/utf_8_sig.py�encoder s1 � ��O�f�1�%��@�@��C�C���J�J�� � c � � d}| d d� t j k r| dd � } d}t j | |d� � \ }}|||z fS )Nr � T)r r �utf_8_decode)r r �prefix�output�consumeds r �decoder sV � � �F��R�a�R�y�F�O�#�#��a�b�b� �����,�U�F�D�A�A��V�X��H�V�O�$�$r c �0 � e Zd Zd d�Zd d�Zd� Zd� Zd� ZdS )�IncrementalEncoderr c �T � t j � | |� � d| _ d S �N� )r r �__init__�first��selfr s r r zIncrementalEncoder.__init__ s&