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:44:29 +0300
On Sun, Nov 18, 2007 at 02:36:16PM +0300, Andrey Chernov wrote:
> 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?

It seems collating is right. Googling some sources I find:

% The letter w is normally not present in the Swedish alphabet. It
% exists in some names in Swedish and foreign words, but is accounted
% for as a variant of 'v'.  Words and names with 'w' are in Swedish
% ordered alphabetically among the words and names with 'v'. If two
% words or names are only to be distinguished by 'v' or % 'w', 'v' is
% placed before 'w'.

So the only fix is using LC_ALL=C before awk script.

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

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