Message410149
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. |
|
Date |
User |
Action |
Args |
2022-01-09 13:53:54 | fbacher | set | recipients:
+ fbacher, christian.heimes, eric.araujo, serhiy.storchaka |
2022-01-09 13:53:54 | fbacher | set | messageid: <1641736434.3.0.47115739892.issue46264@roundup.psfhosted.org> |
2022-01-09 13:53:54 | fbacher | link | issue46264 messages |
2022-01-09 13:53:54 | fbacher | create | |
|