Your IP : 18.119.117.122
3
\
� @ s| d dl Z d dlZddlmZ i ZdZdgZejZG dd� dee �Z
dd � Zd
d� Ze j
e� ejdkrxd
d� Ze j
e� dS )� N� )�aliasesz--unknown--�*c @ s e Zd ZdS )�CodecRegistryErrorN)�__name__�
__module__�__qualname__� r r �*/usr/lib64/python3.6/encodings/__init__.pyr ( s r c C sj t | t�rt| d�} g }d}xB| D ]:}|j� s6|dkrX|rH|rH|jd� |j|� d}q"d}q"W dj|�S )N�asciiF�.�_T� )�
isinstance�bytes�str�isalnum�append�join)�encoding�chars�punct�cr r r
�normalize_encoding+ s
r c
C s� t j| t�}|tk r|S t| �}tj|�p:tj|jdd��}|d k rN||g}n|g}xN|D ]B}| sZd|krnqZytd| tdd�}W n tk
r� Y qZX P qZW d }y
|j }W n t
k
r� d }Y nX |d kr�d t | <