case conversion with Turkish locale

Baris Metin baris@uludag.org.tr
Fri Oct 22 12:08:00 GMT 2004


Hello,

Most of the GNU (and also non-GNU free) programs which depend on case
conversion are problematic in tr_TR and tr_TR.UTF-8 locales.

The problem is simple but a big pain for us. In Turkish upper-case
version of i is "I with dot above" (0130;LATIN CAPITAL LETTER I WITH DOT
ABOVE). A single byte character is converted to a multi-byte character.
lowercasing I. Lower-case version of I in Turkish is "i without the dot
above" (0131;LATIN SMALL LETTER DOTLESS I).

Most programs (assuming a constant byte-count) apply the conversion on
the original string and the string is ruined or at least the resulting
string does not represent a correct result.

Nowadays we try to find the problematic programs and patch them. Gawk,
grep, coreutils, vim, emacs and some others are effected from the
problem.

What I want to ask is. Is this the only solution for us? If so is it
possible to add a caution in the glibc documentation for the developer
to be aware?

best regards,
-- 
Baris Metin
http://www.metin.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 215 bytes
Desc: Digital signature
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20041022/78e22a54/attachment.sig>


More information about the Libc-alpha mailing list