Markus,
Thanks for your help with the German example.
But I don't understand your Swedish example here.
I think in en_US.utf8, "�" (0xC3,0xA4) is after "z".
do you mean, in sv_SE.utf8, "�" is also after "z", ?
then how can we compare ?
I think strcoll("z", "�") should returns -1 in both locale settings.
Thanks.
-Changjian
>If you need a test case that differs radically then use a Swedish or other
>Scandinavian locale, which sorts � after z, because they treat � etc.
>conceptually a bit more as an independent addition to the alphabet, not as
>an umlaut (= a related but phonetically modified version of the same
>letter).
- wrong strcoll() result with different UTF locale sett... Changjian_Sun
- Re: wrong strcoll() result with different UTF lo... Markus Kuhn
- Re: wrong strcoll() result with different UTF lo... Changjian_Sun
- Re: wrong strcoll() result with different UTF lo... Pablo Saratxaga
- Re: wrong strcoll() result with different UTF lo... Edmund GRIMLEY EVANS
- Re: wrong strcoll() result with different UTF lo... Changjian_Sun
- Re: wrong strcoll() result with different UTF lo... Jungshik Shin
- Re: wrong strcoll() result with different UTF lo... Pablo Saratxaga
- Re: wrong strcoll() result with different UTF lo... H. Peter Anvin
- Re: wrong strcoll() result with different UTF lo... Simon Josefsson
- Re: wrong strcoll() result with different UTF lo... Markus Kuhn
- Re: wrong strcoll() result with different UTF lo... Simon Josefsson
- Re: wrong strcoll() result with different UTF lo... Pablo Saratxaga
