[New-bugs-announce] [issue12846] unicodedata.normalize turkish letter problem

Cem YILDIZ report at bugs.python.org
Fri Aug 26 15:53:27 CEST 2011


New submission from Cem YILDIZ <cem at fizy.com>:

unicodedata.normalize cannot convert turkish letter "ı" into "i":


import unicodedata
s = u"üfürükçü ağaç ve ıslıkçı çeşme"
print(shoehorn_unicode_into_ascii(s))
print unicodedata.normalize('NFKD', s).encode('ascii','ignore')

>> ufurukcu agac ve slkc cesme

but the result should be
>> ufurukcu agac ve islikci cesme

----------
components: Unicode
messages: 143008
nosy: fizymania
priority: normal
severity: normal
status: open
title: unicodedata.normalize turkish letter problem
versions: Python 2.6

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue12846>
_______________________________________


More information about the New-bugs-announce mailing list