B ‘–Re­ć@s,ddlZddlZdd„Zdd„Zdd„ZdS)éNcCsTt|tƒrt d|”Sy$| d”}t d|”}| d”}Wntk rNYnX|S)NZNFDzutf-8)Ś isinstanceŚstrŚ unicodedataŚ normalizeŚdecodeŚencodeŚ UnicodeError)Śpath©r śŽ/builddir/build/BUILDROOT/alt-python37-setuptools-58.3.0-4.el8.x86_64/opt/alt/python37/lib/python3.7/site-packages/setuptools/unicode_utils.pyŚ decomposes    r c CsVt|tƒr|St ”pd}|df}x.|D]&}y | |”Stk rLw(Yq(Xq(WdS)zY Ensure that the given path is decoded, NONE when no expected encoding works zutf-8N)rrŚsysŚgetfilesystemencodingrŚUnicodeDecodeError)r Zfs_encŚ candidatesŚencr r r Śfilesys_decodes    rcCs$y | |”Stk rdSXdS)z/turn unicode encoding into a functional routineN)rŚUnicodeEncodeError)Śstringrr r r Ś try_encode%s r)rr r rrr r r r Śs