MOON
Server: Apache
System: Linux vps.erhabenn.com.br 3.10.0-1160.119.1.el7.tuxcare.els2.x86_64 #1 SMP Mon Jul 15 12:09:18 UTC 2024 x86_64
User: sonne (1011)
PHP: 8.2.31
Disabled: NONE
Upload Files
File: //opt/alt/python38/lib/python3.8/site-packages/setuptools/__pycache__/unicode_utils.cpython-38.pyc
U

+�a��@s,ddlZddlZdd�Zdd�Zdd�ZdS)�NcCsTt|t�rt�d|�Sz$|�d�}t�d|�}|�d�}Wntk
rNYnX|S)NZNFD�utf-8)�
isinstance�str�unicodedata�	normalize�decode�encode�UnicodeError)�path�r�@/tmp/pip-install-1bd_1mtk/setuptools/setuptools/unicode_utils.py�	decomposes

r
c	CsZt|t�r|St��pd}|df}|D].}z|�|�WStk
rRYq&Yq&Xq&dS)zY
    Ensure that the given path is decoded,
    NONE when no expected encoding works
    rN)rr�sys�getfilesystemencodingr�UnicodeDecodeError)r
Zfs_enc�
candidates�encrrr�filesys_decodes
rcCs(z|�|�WStk
r"YdSXdS)z/turn unicode encoding into a functional routineN)r�UnicodeEncodeError)�stringrrrr�
try_encode%sr)rrr
rrrrrr�<module>s