Eryk Sun <eryk...@gmail.com> added the comment: Please read "Identifiers and keywords" [1] in the documentation. For example:
>>> import unicodedata as ud >>> ud.normalize('NFKC', '𝖇𝖆𝖗') == 'bar' True >>> c = '\N{CYRILLIC SMALL LETTER A}' >>> ud.name(ud.normalize('NFKC', c)) 'CYRILLIC SMALL LETTER A' --- [1] https://docs.python.org/3/reference/lexical_analysis.html?highlight=nfkc#identifiers ---------- nosy: +eryksun resolution: -> not a bug stage: -> resolved status: open -> closed _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue46572> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com