New submission from Ozan Çağlayan <[EMAIL PROTECTED]>:
>>> 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.
----------
components: Unicode
messages: 70972
nosy: ozan
severity: normal
status: open
title: case conversion problems in Turkish
type: behavior
versions: Python 3.0
_______________________________________
Python tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue3536>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com