[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: German uppercasing rules (was: supporting obscure languages)
From: |
Bruno Haible |
Subject: |
Re: German uppercasing rules (was: supporting obscure languages) |
Date: |
Sat, 28 Nov 2009 23:51:18 +0100 |
User-agent: |
KMail/1.9.9 |
Albert Cahalan wrote:
> Sooner or later, a address@hidden locale will be demanded.
Yes, certainly. Maybe in 5 years, or 10 years, or in 20 years. But currently,
hardly any font contains the U+1E9E "LATIN CAPITAL LETTER SHARP S" character.
Therefore currently, we should stay with the traditional rule of "ß" -> "SS".
> In any case, you won't be getting "SS" out of towupper.
Yes. It is for this reason that
1. towupper('ß') == 'ß',
2. a simple loop that calls towupper is *not* the right way to uppercase an
arbitrary string.
And lowercasing does not work with a simple loop over towlower either, because
of GREEK CAPITAL LETTER SIGMA that needs special treatment.
> I hope libunistring doesn't impede the evolution of languages.
libunistring is free software: it can be changed to fit particular needs.
Bruno