HEX
Server: LiteSpeed
System: Linux premium221.web-hosting.com 4.18.0-553.45.1.lve.el8.x86_64 #1 SMP Wed Mar 26 12:08:09 UTC 2025 x86_64
User: madepabj (2566)
PHP: 8.3.26
Disabled: NONE
Upload Files
File: //opt/alt/python38/lib/python3.8/site-packages/setuptools/__pycache__/unicode_utils.cpython-38.pyc
U

�Re��@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��/builddir/build/BUILDROOT/alt-python38-setuptools-58.3.0-2.el8.x86_64/opt/alt/python38/lib/python3.8/site-packages/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