Quantcast
Channel: Active questions tagged utf-8 - Stack Overflow
Viewing all articles
Browse latest Browse all 1216

Python UTF-8 Lowercase Turkish Specific Letter

$
0
0

with using python 2.7:

>myCity = 'Isparta'>myCity.lower()>'isparta'#-should be->'ısparta'

tried some decoding, (like, myCity.decode("utf-8").lower()) but could not find how to do it.

how can lower this kinds of letters? ('I'>'ı', 'İ'>'i' etc)

EDIT: In Turkish, lower case of 'I' is 'ı'. Upper case of 'i' is 'İ'


Viewing all articles
Browse latest Browse all 1216

Trending Articles