[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#511357: Sorting wrong for sv_SE



On Sat, Jan 10, 2009 at 12:02:04AM +0100, David Weinehall wrote:
> Until 2006, W was regarded as a variant of V, but when the 13th edition         
> of SAOL (Svenska Akademiens OrdLista; the reference dictionary for the          
> Swedish language) was introduced, W was a proper letter, after V in             
> the alphabet[1].                                                                
>                                                                                 
> This means that the reordering rule in sv_SE should be removed.                 

Does this do the right thing for you?

Index: localedata/sv_SE.in
===================================================================
RCS file: /cvs/glibc/libc/localedata/sv_SE.in,v
retrieving revision 1.1
diff -u -r1.1 sv_SE.in
--- localedata/sv_SE.in	1 Sep 2000 17:47:55 -0000	1.1
+++ localedata/sv_SE.in	10 Jan 2009 02:01:01 -0000
@@ -41,8 +41,8 @@
 u
 U
 v
-w
 V
+w
 W
 x
 X
Index: localedata/locales/sv_SE
===================================================================
RCS file: /cvs/glibc/libc/localedata/locales/sv_SE,v
retrieving revision 1.17
diff -u -r1.17 sv_SE
--- localedata/locales/sv_SE	31 Oct 2008 19:00:57 -0000	1.17
+++ localedata/locales/sv_SE	10 Jan 2009 02:01:01 -0000
@@ -71,17 +71,6 @@
 <oumlaut>
 <oslash>
 
-% 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'.
-reorder-after <U0056>
-<U0057> <v>;<BAS>;<CAP>;<w> % W
-reorder-after <U0076>
-<U0077> <v>;<BAS>;<MIN>;<w> % w
-
 reorder-after <U00E3>
 <U00E4> <ae>;<REU>;<MIN>;IGNORE % ä
 <U00E5> <aring>;<RNE>;<MIN>;IGNORE % å



Reply to: