You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
>>> sys.getdefaultencoding()
'utf-8'
>>> s ='iı'
>>> s.upper()
'II' # should be 'İI'
>>> t ='Iİ'
>>> t.lower()
'ii' # should be 'ıi'
>>> unicodedata.name('ı') # The small dotless one
'LATIN SMALL LETTER DOTLESS I'
>>> unicodedata.name('I') # The capital dotless one
'LATIN CAPITAL LETTER I'
>>> unicodedata.name('i') # The small 'i'
'LATIN SMALL LETTER I'
>>> unicodedata.name('İ') # The corresponding capital one
'LATIN CAPITAL LETTER I WITH DOT ABOVE'
The other non-ascii turkish characters 'şŞğĞöÖçÇüÜ' are correctly
handled by case conversion methods.
Activity
ozan commentedon Aug 10, 2008
The other non-ascii turkish characters 'şŞğĞöÖçÇüÜ' are correctly
handled by case conversion methods.
birkenfeld commentedon Aug 10, 2008
Being Unicode strings, Py3k strings use the Unicode database's
lowercase<->uppercase mapping, which is not context sensitive.
See bpo-1528802 for more discussion.