On Sun, 14 Nov 2021, 19:07 Christopher Barker, <python...@gmail.com> wrote:
> On Sun, Nov 14, 2021 at 10:27 AM MRAB <pyt...@mrabarnett.plus.com> wrote: > >> Unfortunately, it goes too far, because it's unlikely that we want "ᵖ" >> ("\N{MODIFIER LETTER SMALL P}') to be equivalent to "P" ("\N{LATIN >> CAPITAL LETTER P}". >> > > Is it possible to only capture things like the combining characters and > not the "equivalent" ones like the above? > Yes, that is NFC. NKFC converts to equivalent characters and also composes; NFC just composes. >
_______________________________________________ Python-Dev mailing list -- python-dev@python.org To unsubscribe send an email to python-dev-le...@python.org https://mail.python.org/mailman3/lists/python-dev.python.org/ Message archived at https://mail.python.org/archives/list/python-dev@python.org/message/YX5YJBQH4CIAF6GIIE7L54GGWLPAGVGB/ Code of Conduct: http://python.org/psf/codeofconduct/