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

Bug#968437: xindy-rules: Incorrect Norwegian sorting of č and š



I tested a but further, and can confirm that this patch solve the
problem:

--- xindy-2.5.1.20160104.orig/make-rules/alphabets/norwegian/utf8.pl.in	2020-08-15 11:41:26.000000000 +0200
+++ xindy-2.5.1.20160104/make-rules/alphabets/norwegian/utf8.pl.in	2020-08-15 11:46:27.976538044 +0200
@@ -11,10 +11,9 @@
                    [], # a with ogonek (polish)
 ['B',  ['b','B']],
                    [], # b with hook (hausa)
-['C',  ['c','C'],['ç','Ç']],
+['C',  ['c','C'],@u{['č','Č'],}['ç','Ç']],
                    [], # ch (spanish/traditional)
                    [], # cs (hungarian)
-                   [], # c with caron (many)
                    [], # c with acute (croatian, lower sorbian, polish)
                    [], # c with circumflex (esperanto)
                    [], # c with cedilla (albanian, kurdish, turkish)
@@ -85,10 +84,9 @@
                    [], # r with caron (czech, slovak/large, upper sorbian)
                    [], # r with acute (lower sorbian)
                    [], # r with cedilla/comma (latvian)
-['S',  ['s','S']],
+['S',  ['s','S'], @u{['š', 'Š']}],
                    [], # sh (albanian)
                    [], # sz (hungarian)
-                   [], # s with caron (many)
                    [], # s with acute (lower sorbian, polish)
                    [], # s with circumflex (esperanto)
                    [], # s with comma below (romanian)

I had to wrap using @u{} as the caron characters are missing in
ISO-8859-1 (aka latin1).
-- 
Happy hacking
Petter Reinholdtsen


Reply to: