Your IP : 3.145.85.123
U
e5d� � @ s| d dl Z d dlZddlmZ i ZdZdgZejZG dd� dee �Z
dd � Zd
d� Ze �
e� ejdkrxd
d� Ze �
e� dS )� N� )�aliasesz--unknown--�*c @ s e Zd ZdS )�CodecRegistryErrorN)�__name__�
__module__�__qualname__� r r �*/usr/lib64/python3.8/encodings/__init__.pyr ( s r c C sf t | t�rt| d�} g }d}| D ]:}|�� s4|dkrV|rF|rF|�d� |�|� d}q d}q d�|�S )N�asciiF�.�_T� )�
isinstance�bytes�str�isalnum�append�join)�encoding�chars�punct�cr r r
�normalize_encoding+ s
r c
C sv t �| t�}|tk r|S t| �}t�|�p:t�|�dd��}|d k rN||g}n|g}|D ]B}|rXd|krjqXztd| tdd�}W n tk
r� Y qXX q�qXd }z
|j }W n t
k
r� d }Y nX |d kr�d t | <