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

From: Andrey Chernov <ache_at_nagual.pp.ru>
Date: Sun, 18 Nov 2007 14:30:19 +0300
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"));
}

-- 
http://ache.pp.ru/
Received on Sun Nov 18 2007 - 10:30:29 UTC

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