[New-bugs-announce] [issue3536] case conversion problems in Turkish

Ozan Çağlayan report at bugs.python.org
Sun Aug 10 14:06:32 CEST 2008


New submission from Ozan Çağlayan <ozancag at gmail.com>:

>>> 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 <report at bugs.python.org>
<http://bugs.python.org/issue3536>
_______________________________________


More information about the New-bugs-announce mailing list