Your IP : 3.142.251.204
�
c��f� � �� � d dl Z d dlZddlmZ i ZdZdgZej Z G d� dee � � Z
d� Zd � Z e j
e� � ej d
k rd� Z e j
e� � dS dS )� N� )�aliasesz--unknown--�*c � � e Zd ZdS )�CodecRegistryErrorN)�__name__�
__module__�__qualname__� � �9/opt/alt/python311/lib64/python3.11/encodings/__init__.pyr r ( s � � � � � ��Dr r c �L � t | t � � rt | d� � } g }d}| D ]c}|� � � s|dk rE|r|r|� d� � |� � � r|� |� � d}�ad}�dd� |� � S )N�asciiF�.�_T� )�
isinstance�bytes�str�isalnum�append�isascii�join)�encoding�chars�punct�cs r
�normalize_encodingr + s� � � � �(�E�"�"� *��x��)�)���E��E�
� � ���9�9�;�;� �!�s�(�(��
"��
"����S�!�!�!��y�y�{�{�
����Q�����E�E��E�E�
�7�7�5�>�>�r c �� � t � | t � � }|t ur|S t | � � }t � |� � p-t � |� dd� � � � }|�||g}n|g}|D ]5}|rd|v r� t
d|z t d�� � } n# t $ r Y �2w xY wd } |j }n# t $ r d }Y nw xY w|�d t | <