diff mbox series

[2/13,BZ,#14095] update collation data from Unicode / ISO 14651

Message ID s9dtvv8opld.fsf@taka.site
State New
Headers show
Series update collation data from Unicode / ISO 14651 | expand

Commit Message

Mike FABIAN Jan. 26, 2018, 10:56 a.m. UTC

diff mbox series

Patch

From 8b73810d7eef8f869ea7a7dc889c890c527281a2 Mon Sep 17 00:00:00 2001
From: Mike FABIAN <mfabian@redhat.com>
Date: Fri, 8 Dec 2017 18:28:41 +0100
Subject: [PATCH 02/13] Necessary changes after updating the iso14651_t1_common
 file

	* localedata/locales/iso14651_t1_common: Necessary changes
        to make the file downloaded from ISO usable by glibc.
---
 localedata/locales/iso14651_t1_common | 24 ++++++++++++++++--------
 1 file changed, 16 insertions(+), 8 deletions(-)

diff --git a/localedata/locales/iso14651_t1_common b/localedata/locales/iso14651_t1_common
index 4de64f5428..46cda2e5ae 100644
--- a/localedata/locales/iso14651_t1_common
+++ b/localedata/locales/iso14651_t1_common
@@ -1,7 +1,14 @@ 
-% escape_char /
-% comment_char %
+escape_char /
+comment_char %
 
-% LC_COLLATE
+% This file is part of the GNU C Library and contains locale data.
+% The Free Software Foundation does not claim any copyright interest
+% in the locale data contained in this file.  The foregoing does not
+% affect the license of the GNU C Library as a whole.  It does not
+% exempt you from the conditions of the license if your use would
+% otherwise be governed by that license.
+
+LC_COLLATE
 
 % Decomment the lines above to create an
 %   LC_COLLATE definition in the style of ISO/IEC TR 14652:2004.
@@ -20076,10 +20083,11 @@  collating-element <UAABC_AAAF> from "<UAABC><UAAAF>" % collation-element for reo
 
 <SFFFF> % Largest primary weight
 
-
-% order_start forward;forward;forward;forward,position
-
-% order_start forward;backward;forward;forward,position
+ifdef DIACRIT_BACKWARD
+order_start forward;backward;forward;forward,position
+else
+order_start forward;forward;forward;forward,position
+endif
 
 % Decomment the first order_start line to specify directions for each level.
 %   To tailor for French accent handling, instead decomment the second
@@ -50179,7 +50187,7 @@  collating-element <UAABC_AAAF> from "<UAABC><UAAAF>" % collation-element for reo
 
 order_end
 
-% END LC_COLLATE
+END LC_COLLATE
 
 % Decomment the line above to create a 14652-style
 %   LC_COLLATE definition.
-- 
2.14.3