Submit
Path:
~
/
/
opt
/
alt
/
python310
/
lib
/
python3.10
/
site-packages
/
setuptools
/
__pycache__
/
File Content:
unicode_utils.cpython-310.opt-1.pyc
o y�Re� � @ s, d dl Z d dlZdd� Zdd� Zdd� ZdS )� Nc C sR t | t�rt�d| �S z| �d�} t�d| �} | �d�} W | S ty( Y | S w )NZNFD�utf-8)� isinstance�str�unicodedata� normalize�decode�encode�UnicodeError)�path� r �K/opt/alt/python310/lib/python3.10/site-packages/setuptools/unicode_utils.py� decompose s ��r c C sR t | t�r| S t�� pd}|df}|D ]}z| �|�W S ty& Y qw dS )zY Ensure that the given path is decoded, NONE when no expected encoding works r N)r r �sys�getfilesystemencodingr �UnicodeDecodeError)r Zfs_encZ candidates�encr r r �filesys_decode s ��r c C s"