관리-도구
편집 파일: unicode_utils.cpython-311.pyc
� ,�Re� � �( � d dl Z d dlZd� Zd� Zd� ZdS )� Nc � � t | t � � rt j d| � � S | � d� � } t j d| � � } | � d� � } n# t $ r Y nw xY w| S )N�NFD�utf-8)� isinstance�str�unicodedata� normalize�decode�encode�UnicodeError)�paths ��/builddir/build/BUILDROOT/alt-python311-setuptools-65.6.3-2.el8.x86_64/opt/alt/python311/lib/python3.11/site-packages/setuptools/unicode_utils.py� decomposer s� � ��$���� 2��$�U�D�1�1�1� ��{�{�7�#�#���$�U�D�1�1���{�{�7�#�#����� � � ��� �����Ks �?A, �, A9�8A9c � � t | t � � r| S t j � � pd}|df}|D ])} | � |� � c S # t $ r Y �&w xY wdS )zY Ensure that the given path is decoded, NONE when no expected encoding works r N)r r �sys�getfilesystemencodingr �UnicodeDecodeError)r �fs_enc� candidates�encs r �filesys_decoder s� � � �$���� ��� � &� (� (� 3�G�F����J�� � �� ��;�;�s�#�#�#�#�#��!� � � ��H� ����� s �A � A�Ac �P � | � |� � S # t $ r Y dS w xY w)z/turn unicode encoding into a functional routineN)r �UnicodeEncodeError)�stringr s r � try_encoder % s; � ���}�}�S�!�!�!��� � � ��t�t����s � � %�%)r r r r r � � r �<module>r sQ �� � � � � � � � � � � �� � �&� � � � r