[issue43020] str.lower method with "İ" character
Steven D'Aprano
report at bugs.python.org
Mon Jan 25 05:22:55 EST 2021
Steven D'Aprano <steve+python at 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 <report at bugs.python.org>
<https://bugs.python.org/issue43020>
_______________________________________
More information about the Python-bugs-list
mailing list