Steven D'Aprano <steve+pyt...@pearwood.info> added the comment:

This is not a bug, but an issue with the way the Unicode standard defines the 
lowercase of dotted I.

See #34723

Fortunately, Unicode will (hopefully!) fix this in revision 14.0, which is 
scheduled to be included in Python 3.10.

Until then, perhaps the simplest way to solve this is that if you are 
processing Turkish text, change your call to .lower() to .replace('İ', 
'I').lower()

----------
nosy: +steven.daprano
resolution:  -> not a bug
stage:  -> resolved
status: open -> closed

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue43020>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to