diff options
author | Mike FABIAN <mfabian@redhat.com> | 2017-12-11 18:26:22 +0100 |
---|---|---|
committer | Mike FABIAN <mfabian@redhat.com> | 2018-02-27 17:47:50 +0100 |
commit | 159738548130d5ac4fe6178977e940ed5f8cfdc4 (patch) | |
tree | 03f90b90e7bb794cfdbd4b3e66c9fff7ad6a9b24 /localedata/locales/vi_VN | |
parent | ce6636b06b67d6bb9b3d6927bf2a926b9b7478f5 (diff) | |
download | glibc-159738548130d5ac4fe6178977e940ed5f8cfdc4.tar glibc-159738548130d5ac4fe6178977e940ed5f8cfdc4.tar.gz glibc-159738548130d5ac4fe6178977e940ed5f8cfdc4.tar.bz2 glibc-159738548130d5ac4fe6178977e940ed5f8cfdc4.zip |
Adapt collation in several locales to the new iso14651_t1_common file
[BZ #22550] - es_ES locale (and other es_* locales): collation should
treat ñ as a primary different character, sync the collation
for Spanish with CLDR
[BZ #21547] - Tibetan script collation broken (Dzongkha and Tibetan)
* localedata/Makefile: Add new test files.
* localedata/lv_LV.UTF-8.in: Adapt test file to new collation order.
* localedata/sv_SE.ISO-8859-1.in: Adapt test file to new collation order.
* localedata/uk_UA.UTF-8.in: Adapt test file to new collation order.
* localedata/am_ET.UTF-8.in: New test file.
* localedata/az_AZ.UTF-8.in: Likewise.
* localedata/be_BY.UTF-8.in: Likewise.
* localedata/ber_DZ.UTF-8.in: Likewise.
* localedata/ber_MA.UTF-8.in: Likewise.
* localedata/bg_BG.UTF-8.in: Likewise.
* localedata/br_FR.UTF-8.in: Likewise.
* localedata/cmn_TW.UTF-8.in: Likewise.
* localedata/crh_UA.UTF-8.in: Likewise.
* localedata/csb_PL.UTF-8.in: Likewise.
* localedata/cv_RU.UTF-8.in: Likewise.
* localedata/cy_GB.UTF-8.in: Likewise.
* localedata/dz_BT.UTF-8.in: Likewise.
* localedata/eo.UTF-8.in: Likewise.
* localedata/es_ES.UTF-8.in: Likewise.
* localedata/fa_IR.UTF-8.in: Likewise.
* localedata/fi_FI.UTF-8.in: Likewise.
* localedata/fil_PH.UTF-8.in: Likewise.
* localedata/fur_IT.UTF-8.in: Likewise.
* localedata/gez_ER.UTF-8@abegede.in: Likewise.
* localedata/ha_NG.UTF-8.in: Likewise.
* localedata/ig_NG.UTF-8.in: Likewise.
* localedata/ik_CA.UTF-8.in: Likewise.
* localedata/kk_KZ.UTF-8.in: Likewise.
* localedata/ku_TR.UTF-8.in: Likewise.
* localedata/ky_KG.UTF-8.in: Likewise.
* localedata/ln_CD.UTF-8.in: Likewise.
* localedata/mi_NZ.UTF-8.in: Likewise.
* localedata/ml_IN.UTF-8.in: Likewise.
* localedata/mn_MN.UTF-8.in: Likewise.
* localedata/mr_IN.UTF-8.in: Likewise.
* localedata/mt_MT.UTF-8.in: Likewise.
* localedata/nb_NO.UTF-8.in: Likewise.
* localedata/om_KE.UTF-8.in: Likewise.
* localedata/os_RU.UTF-8.in: Likewise.
* localedata/ps_AF.UTF-8.in: Likewise.
* localedata/ro_RO.UTF-8.in: Likewise.
* localedata/ru_RU.UTF-8.in: Likewise.
* localedata/sc_IT.UTF-8.in: Likewise.
* localedata/se_NO.UTF-8.in: Likewise.
* localedata/sq_AL.UTF-8.in: Likewise.
* localedata/sv_SE.UTF-8.in: Likewise.
* localedata/szl_PL.UTF-8.in: Likewise.
* localedata/tg_TJ.UTF-8.in: Likewise.
* localedata/tk_TM.UTF-8.in: Likewise.
* localedata/tt_RU.UTF-8.in: Likewise.
* localedata/tt_RU.UTF-8@iqtelif.in: Likewise.
* localedata/ug_CN.UTF-8.in: Likewise.
* localedata/uz_UZ.UTF-8.in: Likewise.
* localedata/vi_VN.UTF-8.in: Likewise.
* localedata/yi_US.UTF-8.in: Likewise.
* localedata/yo_NG.UTF-8.in: Likewise.
* localedata/zh_CN.UTF-8.in: Likewise.
* localedata/locales/am_ET: Adapt collation rules to new iso14651_t1_common
file and fix bugs in the collation.
* localedata/locales/az_AZ: Likewise.
* localedata/locales/be_BY: Likewise.
* localedata/locales/ber_DZ: Likewise.
* localedata/locales/ber_MA: Likewise.
* localedata/locales/bg_BG: Likewise.
* localedata/locales/br_FR: Likewise.
* localedata/locales/br_FR@euro: Likewise.
* localedata/locales/ca_ES: Likewise.
* localedata/locales/cns11643_stroke: Likewise.
* localedata/locales/crh_UA: Likewise.
* localedata/locales/cs_CZ: Likewise.
* localedata/locales/csb_PL: Likewise.
* localedata/locales/cv_RU: Likewise.
* localedata/locales/cy_GB: Likewise.
* localedata/locales/da_DK: Likewise.
* localedata/locales/dz_BT: Likewise.
* localedata/locales/en_CA: Likewise.
* localedata/locales/eo: Likewise.
* localedata/locales/es_CU: Likewise.
* localedata/locales/es_EC: Likewise.
* localedata/locales/es_ES: Likewise.
* localedata/locales/es_US: Likewise.
* localedata/locales/et_EE: Likewise.
* localedata/locales/fa_IR: Likewise.
* localedata/locales/fi_FI: Likewise.
* localedata/locales/fil_PH: Likewise.
* localedata/locales/fur_IT: Likewise.
* localedata/locales/gez_ER@abegede: Likewise.
* localedata/locales/ha_NG: Likewise.
* localedata/locales/hr_HR: Likewise.
* localedata/locales/hsb_DE: Likewise.
* localedata/locales/hu_HU: Likewise.
* localedata/locales/ig_NG: Likewise.
* localedata/locales/ik_CA: Likewise.
* localedata/locales/is_IS: Likewise.
* localedata/locales/iso14651_t1_pinyin: Likewise.
* localedata/locales/kk_KZ: Likewise.
* localedata/locales/ku_TR: Likewise.
* localedata/locales/ky_KG: Likewise.
* localedata/locales/ln_CD: Likewise.
* localedata/locales/lt_LT: Likewise.
* localedata/locales/lv_LV: Likewise.
* localedata/locales/mi_NZ: Likewise.
* localedata/locales/ml_IN: Likewise.
* localedata/locales/mn_MN: Likewise.
* localedata/locales/mr_IN: Likewise.
* localedata/locales/mt_MT: Likewise.
* localedata/locales/nb_NO: Likewise.
* localedata/locales/om_KE: Likewise.
* localedata/locales/os_RU: Likewise.
* localedata/locales/pl_PL: Likewise.
* localedata/locales/ps_AF: Likewise.
* localedata/locales/ro_RO: Likewise.
* localedata/locales/ru_RU: Likewise.
* localedata/locales/ru_UA: Likewise.
* localedata/locales/sc_IT: Likewise.
* localedata/locales/se_NO: Likewise.
* localedata/locales/si_LK: Likewise.
* localedata/locales/sq_AL: Likewise.
* localedata/locales/sv_FI: Likewise.
* localedata/locales/sv_FI@euro: Likewise.
* localedata/locales/sv_SE: Likewise.
* localedata/locales/szl_PL: Likewise.
* localedata/locales/tg_TJ: Likewise.
* localedata/locales/ti_ER: Likewise.
* localedata/locales/tk_TM: Likewise.
* localedata/locales/tl_PH: Likewise.
* localedata/locales/tr_TR: Likewise.
* localedata/locales/tt_RU: Likewise.
* localedata/locales/tt_RU@iqtelif: Likewise.
* localedata/locales/ug_CN: Likewise.
* localedata/locales/uk_UA: Likewise.
* localedata/locales/uz_UZ: Likewise.
* localedata/locales/uz_UZ@cyrillic: Likewise.
* localedata/locales/vi_VN: Likewise.
* localedata/locales/yi_US: Likewise.
* localedata/locales/yo_NG: Likewise.
Diffstat (limited to 'localedata/locales/vi_VN')
-rw-r--r-- | localedata/locales/vi_VN | 242 |
1 files changed, 83 insertions, 159 deletions
diff --git a/localedata/locales/vi_VN b/localedata/locales/vi_VN index 191ebf94e8..7fac1fbbcc 100644 --- a/localedata/locales/vi_VN +++ b/localedata/locales/vi_VN @@ -61,167 +61,91 @@ translit_end END LC_CTYPE LC_COLLATE -% Copy the template from ISO/IEC 14651 -copy "iso14651_t1" - -% A( A^ E^ O+ U+ DD are treatead as base letters -% ordering of accents is: grave, hook, tilde, acute, dot below -% a a( a> b c d d/ e e> f g h i j k l m n o o+ p q r s t u u+ v w x y z - -collating-symbol <a(> -collating-symbol <a/>> -collating-symbol <d//> -collating-symbol <e/>> -collating-symbol <o/>> -collating-symbol <o9> -collating-symbol <u9> - -reorder-after <BAS> -<GRA> -<HOK> -<TIL> -<ACA> -<PCT> - -reorder-after <a> -<a(> -<a/>> -reorder-after <d> -<d//> -reorder-after <e> -<e/>> -reorder-after <o> -<o/>> -<o9> -reorder-after <u> -<u9> - -reorder-after <U0061> -<U1EA3> <a>;<HOK>;<MIN>;IGNORE -<U1EA1> <a>;<PCT>;<MIN>;IGNORE -<U0103> <a(>;<BAS>;<MIN>;IGNORE -<U1EB1> <a(>;<GRA>;<MIN>;IGNORE -<U1EB3> <a(>;<HOK>;<MIN>;IGNORE -<U1EB5> <a(>;<TIL>;<MIN>;IGNORE -<U1EAF> <a(>;<ACA>;<MIN>;IGNORE -<U1EB7> <a(>;<PCT>;<MIN>;IGNORE -<U00E2> <a/>>;<BAS>;<MIN>;IGNORE -<U1EA7> <a/>>;<GRA>;<MIN>;IGNORE -<U1EA9> <a/>>;<HOK>;<MIN>;IGNORE -<U1EAB> <a/>>;<TIL>;<MIN>;IGNORE -<U1EA5> <a/>>;<ACA>;<MIN>;IGNORE -<U1EAD> <a/>>;<PCT>;<MIN>;IGNORE -reorder-after <U0041> -<U1EA2> <a>;<HOK>;<CAP>;IGNORE -<U1EA0> <a>;<PCT>;<CAP>;IGNORE -<U0102> <a(>;<BAS>;<CAP>;IGNORE -<U1EB0> <a(>;<GRA>;<CAP>;IGNORE -<U1EB2> <a(>;<HOK>;<CAP>;IGNORE -<U1EB4> <a(>;<TIL>;<CAP>;IGNORE -<U1EAE> <a(>;<ACA>;<CAP>;IGNORE -<U1EB6> <a(>;<PCT>;<CAP>;IGNORE -<U00C2> <a/>>;<BAS>;<CAP>;IGNORE -<U1EA6> <a/>>;<GRA>;<CAP>;IGNORE -<U1EA8> <a/>>;<HOK>;<CAP>;IGNORE -<U1EAA> <a/>>;<TIL>;<CAP>;IGNORE -<U1EA4> <a/>>;<ACA>;<CAP>;IGNORE -<U1EAC> <a/>>;<PCT>;<CAP>;IGNORE - -reorder-after <U0064> -<U0111> <d//>;<BAS>;<MIN>;IGNORE -<U00F0> <d//>;<PCL>;<MIN>;IGNORE -reorder-after <U0044> -<U0110> <d//>;<BAS>;<CAP>;IGNORE -<U00D0> <d//>;<PCL>;<CAP>;IGNORE - -reorder-after <U0065> -<U1EBB> <e>;<HOK>;<MIN>;IGNORE -<U1EBD> <e>;<TIL>;<MIN>;IGNORE -<U1EB9> <e>;<PCT>;<MIN>;IGNORE -<U00EA> <e/>>;<BAS>;<MIN>;IGNORE -<U1EC1> <e/>>;<GRA>;<MIN>;IGNORE -<U1EC3> <e/>>;<HOK>;<MIN>;IGNORE -<U1EC5> <e/>>;<TIL>;<MIN>;IGNORE -<U1EBF> <e/>>;<ACA>;<MIN>;IGNORE -<U1EC7> <e/>>;<PCT>;<MIN>;IGNORE -reorder-after <U0045> -<U1EBA> <e>;<HOK>;<CAP>;IGNORE -<U1EBC> <e>;<TIL>;<CAP>;IGNORE -<U1EB8> <e>;<PCT>;<CAP>;IGNORE -<U00CA> <e/>>;<BAS>;<CAP>;IGNORE -<U1EC0> <e/>>;<GRA>;<CAP>;IGNORE -<U1EC2> <e/>>;<HOK>;<CAP>;IGNORE -<U1EC4> <e/>>;<TIL>;<CAP>;IGNORE -<U1EBE> <e/>>;<ACA>;<CAP>;IGNORE -<U1EC6> <e/>>;<PCT>;<CAP>;IGNORE - -reorder-after <U0069> -<U1EC9> <i>;<HOK>;<MIN>;IGNORE -<U1ECB> <i>;<PCT>;<MIN>;IGNORE -reorder-after <U0049> -<U1EC8> <i>;<HOK>;<CAP>;IGNORE -<U1ECA> <i>;<PCT>;<CAP>;IGNORE - -reorder-after <U006F> -<U1ECF> <o>;<HOK>;<MIN>;IGNORE -<U1ECD> <o>;<PCT>;<MIN>;IGNORE -<U00F4> <o/>>;<BAS>;<MIN>;IGNORE -<U1ED3> <o/>>;<GRA>;<MIN>;IGNORE -<U1ED5> <o/>>;<HOK>;<MIN>;IGNORE -<U1ED7> <o/>>;<TIL>;<MIN>;IGNORE -<U1ED1> <o/>>;<ACA>;<MIN>;IGNORE -<U1ED9> <o/>>;<PCT>;<MIN>;IGNORE -<U01A1> <o9>;<BAS>;<MIN>;IGNORE -<U1EDD> <o9>;<GRA>;<MIN>;IGNORE -<U1EDF> <o9>;<HOK>;<MIN>;IGNORE -<U1EE1> <o9>;<TIL>;<MIN>;IGNORE -<U1EDB> <o9>;<ACA>;<MIN>;IGNORE -<U1EE3> <o9>;<PCT>;<MIN>;IGNORE -reorder-after <U004F> -<U1ECE> <o>;<HOK>;<CAP>;IGNORE -<U1ECC> <o>;<PCT>;<CAP>;IGNORE -<U00D4> <o/>>;<BAS>;<CAP>;IGNORE -<U1ED2> <o/>>;<GRA>;<CAP>;IGNORE -<U1ED4> <o/>>;<HOK>;<CAP>;IGNORE -<U1ED6> <o/>>;<TIL>;<CAP>;IGNORE -<U1ED0> <o/>>;<ACA>;<CAP>;IGNORE -<U1ED8> <o/>>;<PCT>;<CAP>;IGNORE -<U01A0> <o9>;<BAS>;<CAP>;IGNORE -<U1EDC> <o9>;<GRA>;<CAP>;IGNORE -<U1EDE> <o9>;<HOK>;<CAP>;IGNORE -<U1EE0> <o9>;<TIL>;<CAP>;IGNORE -<U1EDA> <o9>;<ACA>;<CAP>;IGNORE -<U1EE2> <o9>;<PCT>;<CAP>;IGNORE +% CLDR collation rules for Vietnamese: +% (see: https://unicode.org/cldr/trac/browser/trunk/common/collation/vi.xml) +% +% <collation type="standard"> +% <cr><![CDATA[ +% [normalization on] +% &̀<<̉<<̃<<́<<̣ +% &a<ă<<<Ă<â<<<Â +% &d<đ<<<Đ +% &e<ê<<<Ê +% &o<ô<<<Ô<ơ<<<Ơ +% &u<ư<<<Ư +% ]]></cr> +% </collation> +% <collation type="traditional"> +% <cr><![CDATA[ +% [normalization on] +% &̀<<̉<<̃<<́<<̣ +% &a<ă<<<Ă<â<<<Â +% &C<ch<<<Ch<<<CH +% &d<đ<<<Đ +% &e<ê<<<Ê +% &G<gh<<<Gh<<<GH<gi<<<Gi<<<GI +% &K<kh<<<Kh<<<KH +% &N<nh<<<Nh<<<NH<ng<<<Ng<<<NG<ngh<<<Ngh<<<NGh<<<NGH +% &o<ô<<<Ô<ơ<<<Ơ +% &P<ph<<<Ph<<<PH +% &Q<qu<<<Qu<<<QU +% &T<th<<<Th<<<TH<tr<<<Tr<<<TR +% &u<ư<<<Ư +% ]]></cr> +% </collation> +% +% And CLDR also lists the following +% index characters: +% (see: https://unicode.org/cldr/trac/browser/trunk/common/main/vi.xml) +% +% <exemplarCharacters type="index" draft="contributed">[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]</exemplarCharacters> +% +% The following rules implement the “standard” order for glibc. -reorder-after <U0075> -<U1EE7> <u>;<HOK>;<MIN>;IGNORE -<U1EE5> <u>;<PCT>;<MIN>;IGNORE -<U01B0> <u9>;<BAS>;<MIN>;IGNORE -<U1EEB> <u9>;<GRA>;<MIN>;IGNORE -<U1EED> <u9>;<HOK>;<MIN>;IGNORE -<U1EEF> <u9>;<TIL>;<MIN>;IGNORE -<U1EE9> <u9>;<ACA>;<MIN>;IGNORE -<U1EF1> <u9>;<PCT>;<MIN>;IGNORE -reorder-after <U0055> -<U1EE6> <u>;<HOK>;<CAP>;IGNORE -<U1EE4> <u>;<PCT>;<CAP>;IGNORE -<U01AF> <u9>;<BAS>;<CAP>;IGNORE -<U1EEA> <u9>;<GRA>;<CAP>;IGNORE -<U1EEC> <u9>;<HOK>;<CAP>;IGNORE -<U1EEE> <u9>;<TIL>;<CAP>;IGNORE -<U1EE8> <u9>;<ACA>;<CAP>;IGNORE -<U1EF0> <u9>;<PCT>;<CAP>;IGNORE +copy "iso14651_t1" -reorder-after <U0079> -<U1EF3> <y>;<GRA>;<MIN>;IGNORE -<U1EF7> <y>;<HOK>;<MIN>;IGNORE -<U1EF9> <y>;<TIL>;<MIN>;IGNORE -<U1EF5> <y>;<PCT>;<MIN>;IGNORE -reorder-after <U0059> -<U1EF2> <y>;<GRA>;<CAP>;IGNORE -<U1EF6> <y>;<HOK>;<CAP>;IGNORE -<U1EF8> <y>;<TIL>;<CAP>;IGNORE -<U1EF4> <y>;<PCT>;<CAP>;IGNORE +collating-symbol <a-breve> +collating-symbol <a-circumflex> +collating-symbol <d-stroke> +collating-symbol <e-circumflex> +collating-symbol <o-circumflex> +collating-symbol <o-horn> +collating-symbol <u-horn> + +reorder-after <BASE> +<GRAVE> % COMBINING GRAVE ACCENT +<CROOK> % COMBINING HOOK ABOVE +<TILDE> % COMBINING TILDE +<AIGUT> % COMBINING ACUTE ACCENT +<POINS> % COMBINING DOT BELOW + +reorder-after <AFTER-A> +<a-breve> +<a-circumflex> +reorder-after <AFTER-D> +<d-stroke> +reorder-after <AFTER-E> +<e-circumflex> +reorder-after <AFTER-O> +<o-circumflex> +<o-horn> +reorder-after <AFTER-U> +<u-horn> + +<U0103> <a-breve>;"<BASE><BREVE>";"<MIN><MIN>";<U0103> % ă +<U0102> <a-breve>;"<BASE><BREVE>";"<CAP><MIN>";<U0102> % Ă +<U00E2> <a-circumflex>;"<BASE><CIRCF>";"<MIN><MIN>";<U00E2> % â +<U00C2> <a-circumflex>;"<BASE><CIRCF>";"<CAP><MIN>";<U00C2> % Â +<U0111> <d-stroke>;"<BASE><BARRE>";"<MIN><MIN>";<U0111> % đ +<U0110> <d-stroke>;"<BASE><BARRE>";"<CAP><MIN>";<U0110> % Đ +<U00EA> <e-circumflex>;"<BASE><CIRCF>";"<MIN><MIN>";<U00EA> % ê +<U00CA> <e-circumflex>;"<BASE><CIRCF>";"<CAP><MIN>";<U00CA> % Ê +<U00F4> <o-circumflex>;"<BASE><CIRCF>";"<MIN><MIN>";<U00F4> % ô +<U00D4> <o-circumflex>;"<BASE><CIRCF>";"<CAP><MIN>";<U00D4> % Ô +<U01A1> <o-horn>;"<BASE><HORNU>";"<MIN><MIN>";<U01A1> % ơ +<U01A0> <o-horn>;"<BASE><HORNU>";"<CAP><MIN>";<U01A0> % Ơ +<U01B0> <u-horn>;"<BASE><HORNU>";"<MIN><MIN>";<U01B0> % ư +<U01AF> <u-horn>;"<BASE><HORNU>";"<CAP><MIN>";<U01AF> % Ư reorder-end |