Code

Use locale-unaware methods for case conversion
authorOzan Çağlayan <ozan@pardus.org.tr>
Tue, 19 Apr 2011 05:38:40 +0000 (08:38 +0300)
committerJonas Fonseca <fonseca@diku.dk>
Tue, 3 May 2011 01:38:44 +0000 (21:38 -0400)
Problem:
 On a tr_TR.UTF-8 locale, adding a key binding to tigrc can not be
 correctly parsed if the keymap contains 'i' like main, generic, etc.
 as they are wrongly converted to upper case.

In languages like Turkish, 'i' is not converted to 'I' as they're
different characters. So one should never use locale-aware conversion
methods which will break things in some locales.

See:
 http://www.mattryall.net/blog/2009/02/the-infamous-turkish-locale-bug

Signed-off-by: Jonas Fonseca <fonseca@diku.dk>

No differences found