From ebde2baeb535661019b8f774a906d6abd332f3b8 Mon Sep 17 00:00:00 2001 From: Sebastian Rasmussen Date: Thu, 18 Mar 2021 17:21:43 -0400 Subject: Update sv_SE to treate 'W' as a distinct character (Bug 25036) The 13th edition of Svenska Akademiens ordlista lists 'W' as a distinct letter that sorts after 'V'. We adjust the sv_SE locale (and tests) to match this updated and "reformed" language change. This harmonizes us with CLDR 1.5.0 (2007) for sv_SE sorting of the letter 'W'. No regressions on x86_64, and locale sorting tests all pass. Co-authored-by: Carlos O'Donell --- localedata/locales/sv_SE | 26 +++++++++----------------- 1 file changed, 9 insertions(+), 17 deletions(-) (limited to 'localedata/locales') diff --git a/localedata/locales/sv_SE b/localedata/locales/sv_SE index b0901726db..f54c73226d 100644 --- a/localedata/locales/sv_SE +++ b/localedata/locales/sv_SE @@ -61,22 +61,25 @@ LC_COLLATE copy "iso14651_t1" % CLDR collation rules for Swedish: -% (see: https://unicode.org/cldr/trac/browser/trunk/common/collation/sv.xml) +% (https://github.com/unicode-org/cldr/blob/master/common/collation/sv.xml) % -% +% We use the new "reformed" rules from the 13th edition of Svenska Akademiens +% ordlista where 'W' is considered a distinct character sorting after 'V'. +% This matches CLDR 1.5.0 released in 2007. +% +% reformed +% % % % -% And CLDR also lists the following -% index characters: -% (see: https://unicode.org/cldr/trac/browser/trunk/common/main/sv.xml) +% And CLDR also lists the following index characters: +% (https://github.com/unicode-org/cldr/blob/master/common/main/sv.xml) % % [A B C D E F G H I J K L M N O P Q R S T U V W X Y Z Å Ä Ö] % @@ -103,17 +106,6 @@ reorder-after "";"";"";IGNORE % Þ "";"";"";IGNORE % þ -% 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'. - -% &v<< ;"";"";IGNORE % W - ;"";"";IGNORE % w - % &Y< ;"";"";IGNORE % Ü ;"";"";IGNORE % ü -- cgit v1.2.3-70-g09d2