Re: Setting LANG=sv_SE.ISO_8859-1 breaks 7.0 buildworld

From: Henrik Bergkvist <henrik_at_mdfnet.se>
Date: Sun, 18 Nov 2007 16:12:31 +0100
Niclas Zeising wrote:
> Andrey Chernov wrote:
>> On Sun, Nov 18, 2007 at 02:30:19PM +0300, Andrey Chernov wrote:
>>> On Sun, Nov 18, 2007 at 02:22:26PM +0300, Andrey Chernov wrote:
>>>> 1) it should be sv_SE.ISO8859-1, not sv_SE.ISO_8859-1
>>> ...
>>>> 4) Test script reduced to minimum
>>> Even not the awk bug but rather strcoll() or locale definition, 
>>> reduced down to that:
>>
>>> #include <locale.h>
>>> #include <stdio.h>
>>> #include <string.h>
>>>
>>> main() {
>>> setlocale(LC_ALL, "");
>>> printf ("%d\n", strcoll("ve","w"));
>>> }
>>
>> This is locale definition, I find (V,W); and (v,w); there, is that 
>> right equivalences for sv_SE? I.e. is v=w in sv_SE sorting?
>>
>
> Hi!
> v and w is sorted the same in Swedish (it's probably a language bug 
> really), so as an example, surnames beginning with v and w are mixed 
> under the same entry in the phone books and so on.
Since SAOL 13:th edition it's changed. They now consider it two 
different characters, so I guess the correct way is to not sort it as 
the same anymore.

References in swedish.
http://sv.wikipedia.org/wiki/W
http://www.dn.se/DNet/jsp/polopoly.jsp?d=1058&a=538744&previousRenderType=3



/Henrik
Received on Sun Nov 18 2007 - 14:11:31 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:22 UTC