This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author fbacher
Recipients christian.heimes, eric.araujo, fbacher, serhiy.storchaka
Date 2022-01-09.13:53:54
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1641736434.3.0.47115739892.issue46264@roundup.psfhosted.org>
In-reply-to
Content
Using casefold did not help

ubuntu Lang is en_US.UTF-8
[GCC 9.3.0] on linux
>>> folded_1: str = "Turkish I: İı".casefold()
>>> folded_2: str = "tUrkİsh i: iI".casefold()
>>> print(folded_1)
turkish i: i̇ı
>>> print(folded_2)
turki̇sh i: ii
>>> print(folded_1==folded_2)
False

It exhibits the same shortcoming as toLower.
multi-language support ain't easy, especially when everything you learned about strings ain't true.
History
Date User Action Args
2022-01-09 13:53:54fbachersetrecipients: + fbacher, christian.heimes, eric.araujo, serhiy.storchaka
2022-01-09 13:53:54fbachersetmessageid: <1641736434.3.0.47115739892.issue46264@roundup.psfhosted.org>
2022-01-09 13:53:54fbacherlinkissue46264 messages
2022-01-09 13:53:54fbachercreate