From c7ee5ed55c5516177d9293d8455dc5a47c7efad1 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Tue, 30 Dec 2008 16:49:06 +0000 Subject: [PATCH] * locales/i18n: Move Indic Matra characters to punct. * locales/as_IN: Add support for internationalized digits. * locales/bn_BD: Likewise. * locales/bn_IN: Likewise. * locales/gu_IN: Likewise. * locales/hi_IN: Likewise. * locales/kn_IN: Likewise. * locales/ml_IN: Likewise. * locales/mr_IN: Likewise. * locales/or_IN: Likewise. * locales/pa_IN: Likewise. * locales/ta_IN: Likewise. * locales/te_IN: Likewise. --- localedata/ChangeLog | 16 ++++++++ localedata/locales/as_IN | 2 +- localedata/locales/bn_IN | 23 +++++++++++- localedata/locales/gu_IN | 17 +++++++++ localedata/locales/hi_IN | 2 +- localedata/locales/i18n | 80 ++++++++++++++++++++-------------------- localedata/locales/kn_IN | 17 +++++++++ localedata/locales/ml_IN | 18 +++++++++ localedata/locales/mr_IN | 17 +++++++++ localedata/locales/or_IN | 17 +++++++++ localedata/locales/pa_IN | 23 +++++++++++- localedata/locales/ta_IN | 17 +++++++++ localedata/locales/te_IN | 17 +++++++++ 13 files changed, 222 insertions(+), 44 deletions(-) diff --git a/localedata/ChangeLog b/localedata/ChangeLog index 6a7735b514..da41173226 100644 --- a/localedata/ChangeLog +++ b/localedata/ChangeLog @@ -1,3 +1,19 @@ +2008-12-30 Ulrich Drepper + + * locales/i18n: Move Indic Matra characters to punct. + * locales/as_IN: Add support for internationalized digits. + * locales/bn_BD: Likewise. + * locales/bn_IN: Likewise. + * locales/gu_IN: Likewise. + * locales/hi_IN: Likewise. + * locales/kn_IN: Likewise. + * locales/ml_IN: Likewise. + * locales/mr_IN: Likewise. + * locales/or_IN: Likewise. + * locales/pa_IN: Likewise. + * locales/ta_IN: Likewise. + * locales/te_IN: Likewise. + 2008-12-26 Ulrich Drepper * tests-mbwc/tst_types.h (TIN_MBRLEN_REC): Use correct array diff --git a/localedata/locales/as_IN b/localedata/locales/as_IN index 41917f06dc..3e1c4cb8ab 100644 --- a/localedata/locales/as_IN +++ b/localedata/locales/as_IN @@ -32,7 +32,7 @@ END LC_IDENTIFICATION %%%%%%%%%%%%% LC_CTYPE -copy "i18n" +copy "bn_IN" translit_start include "translit_combining";"" diff --git a/localedata/locales/bn_IN b/localedata/locales/bn_IN index 1a792acd8a..43a682549e 100644 --- a/localedata/locales/bn_IN +++ b/localedata/locales/bn_IN @@ -34,7 +34,28 @@ END LC_IDENTIFICATION LC_CTYPE -copy "bn_BD" +copy "i18n" + +% Bengali uses the alternate digits U+09E6..U+09EF +outdigit .. + +% This is used in the scanf family of functions to read Bengali numbers +% using "%Id" and such. +map to_inpunct; / + (,); / + (,); / + (,); / + (,); / + (,); / + (,); / + (,); / + (,); / + (,); / + (,); + +translit_start +include "translit_combining";"" +translit_end END LC_CTYPE diff --git a/localedata/locales/gu_IN b/localedata/locales/gu_IN index 6e60a2367e..0d7ffc98a8 100644 --- a/localedata/locales/gu_IN +++ b/localedata/locales/gu_IN @@ -35,6 +35,23 @@ END LC_IDENTIFICATION LC_CTYPE copy "i18n" +% Gujarati uses the alternate digits U+0AE6..U+0AEF +outdigit .. + +% This is used in the scanf family of functions to read Gujarati numbers +% using "%Id" and such. +map to_inpunct; / + (,); / + (,); / + (,); / + (,); / + (,); / + (,); / + (,); / + (,); / + (,); / + (,); + translit_start include "translit_combining";"" translit_end diff --git a/localedata/locales/hi_IN b/localedata/locales/hi_IN index 44644bc323..c8a5051089 100644 --- a/localedata/locales/hi_IN +++ b/localedata/locales/hi_IN @@ -32,7 +32,7 @@ category "hi_IN:2000";LC_TELEPHONE END LC_IDENTIFICATION LC_CTYPE -copy "i18n" +copy "mr_IN" translit_start include "translit_combining";"" diff --git a/localedata/locales/i18n b/localedata/locales/i18n index 7287424417..8afbb717fa 100644 --- a/localedata/locales/i18n +++ b/localedata/locales/i18n @@ -231,41 +231,55 @@ alpha / ..;;/ % NKO/ ..;..;;/ +% - All Matras of Indic and Sinhala are moved from punct to alpha class/ +% - Added Unicode 5.1 charctares of Indic scripts/ % DEVANAGARI/ - ..;;;..;/ - ..;/ + ..;..;/ + ..;..;/ + ;;;..;/ % TABLE 18 BENGALI/ - ..;;;..;..;/ - ;..;;;;;..;/ - ..;/ + ..;..;;;..;/ + ..;;..;..;/ + ;;..;;/ + ;;..;..;/ % GURMUKHI/ - ..;;;..;..;/ - ;;;;;;..;/ - ;..;/ + ..;..;;;..;/ + ..;;;;;;;/ + ;..;;;..;;/ + ..;;..;/ % GUJARATI/ + ..;/ ..;..;..;/ - ..;;;..;;;/ - ;;/ + ..;;;..;..;/ + ..;..;/ + ;..;;/ % ORIYA/ - ..;;;..;..;/ - ;;..;;;;/ - ..;;/ + ..;..;;;..;/ + ..;;;..;..;/ + ..;..;..;;;/ + ..;;;/ % TAMIL/ - ;..;..;..;;/ + ;;..;..;..;;/ ;;;;;;..;/ - ..;/ + ..;..;..;..;/ + ;;..;/ % TELUGU/ - ..;..;..;..;/ - ..;;..;..;/ + ..;..;..;..;/ + ..;..;..;..;/ + ..;..;..;..;/ % KANNADA/ - ..;..;..;..;/ - ..;;..;/ + ..;..;..;..;/ + ..;..;..;..;..;/ + ..;;..;;;/ % MALAYALAM/ - ..;..;..;..;/ - ;..;/ + ..;..;..;..;/ + ..;..;/ + ..;..;;/ + ..;..;/ % SINHALA/ - ..;..;..;;/ - ..;/ + ..;..;..;..;;/ + ..;;/ + ..;;..;..;/ % THAI/ ..;..;..;..;/ % LAO/ @@ -496,7 +510,7 @@ alpha / % KANNADA/ ..;/ % MALAYALAM/ - ..;..;/ + ..;..;/ % THAI/ ..;/ % LAO/ @@ -566,22 +580,8 @@ punct / ..;..;;;..;/ ..;..;..;;;/ ..;..;..;..;/ - ..;;..;..;/ - ..;;..;;..;/ - ..;..;;..;/ - ..;..;;..;/ - ..;..;;..;/ - ;..;/ - ;..;..;..;/ - ..;;..;;..;/ - ..;..;..;;;/ - ..;..;..;;;/ - ..;..;..;..;/ - ..;..;..;;/ - ..;..;..;..;/ - ..;..;..;..;/ - ..;..;;..;;/ - ..;;..;..;;/ + ;;/ + ;/ ;;;..;;..;/ ..;..;..;..;/ ..;..;..;..;/ diff --git a/localedata/locales/kn_IN b/localedata/locales/kn_IN index 53c5fcac71..4a0a2e3409 100644 --- a/localedata/locales/kn_IN +++ b/localedata/locales/kn_IN @@ -36,6 +36,23 @@ END LC_IDENTIFICATION LC_CTYPE copy "i18n" +% Kannada uses the alternate digits U+0CE6..U+0CEF +outdigit .. + +% This is used in the scanf family of functions to read Kannada numbers +% using "%Id" and such. +map to_inpunct; / + (,); / + (,); / + (,); / + (,); / + (,); / + (,); / + (,); / + (,); / + (,); / + (,); + translit_start include "translit_combining";"" translit_end diff --git a/localedata/locales/ml_IN b/localedata/locales/ml_IN index 1f57845813..18196bb5de 100644 --- a/localedata/locales/ml_IN +++ b/localedata/locales/ml_IN @@ -32,6 +32,24 @@ category "ml_IN:2000";LC_MEASUREMENT END LC_IDENTIFICATION LC_CTYPE copy "i18n" + +% Malayalam uses the alternate digits U+0D66..U+0D6F +outdigit .. + +% This is used in the scanf family of functions to read Malayalam numbers +% using "%Id" and such. +map to_inpunct; / + (,); / + (,); / + (,); / + (,); / + (,); / + (,); / + (,); / + (,); / + (,); / + (,); + translit_start include "translit_combining";"" translit_end diff --git a/localedata/locales/mr_IN b/localedata/locales/mr_IN index ba3b3d6148..7c9d439fcb 100644 --- a/localedata/locales/mr_IN +++ b/localedata/locales/mr_IN @@ -34,6 +34,23 @@ END LC_IDENTIFICATION LC_CTYPE copy "i18n" +% Devanagari uses the alternate digits U+0966..U+096F +outdigit .. + +% This is used in the scanf family of functions to read devanagari numbers +% using "%Id" and such. +map to_inpunct; / + (,); / + (,); / + (,); / + (,); / + (,); / + (,); / + (,); / + (,); / + (,); / + (,); + translit_start include "translit_combining";"" translit_end diff --git a/localedata/locales/or_IN b/localedata/locales/or_IN index 86754b2e2f..22ee03108a 100644 --- a/localedata/locales/or_IN +++ b/localedata/locales/or_IN @@ -35,6 +35,23 @@ END LC_IDENTIFICATION LC_CTYPE copy "i18n" +% Oriya uses the alternate digits U+0B66..U+0B6F +outdigit .. + +% This is used in the scanf family of functions to read Oriya numbers +% using "%Id" and such. +map to_inpunct; / + (,); / + (,); / + (,); / + (,); / + (,); / + (,); / + (,); / + (,); / + (,); / + (,); + translit_start include "translit_combining";"" translit_end diff --git a/localedata/locales/pa_IN b/localedata/locales/pa_IN index b269472d4e..c4c4732349 100644 --- a/localedata/locales/pa_IN +++ b/localedata/locales/pa_IN @@ -31,7 +31,28 @@ category "pa_IN:2000";LC_TELEPHONE END LC_IDENTIFICATION LC_CTYPE -copy "pa_PK" +copy "i18n" + +% Punjabi uses the alternate digits U+0A66..U+0A6F +outdigit .. + +% This is used in the scanf family of functions to read Punjabi numbers +% using "%Id" and such. +map to_inpunct; / + (,); / + (,); / + (,); / + (,); / + (,); / + (,); / + (,); / + (,); / + (,); / + (,); + +translit_start +include "translit_combining";"" +translit_end END LC_CTYPE diff --git a/localedata/locales/ta_IN b/localedata/locales/ta_IN index df68390261..51a4fff35f 100644 --- a/localedata/locales/ta_IN +++ b/localedata/locales/ta_IN @@ -37,6 +37,23 @@ END LC_IDENTIFICATION LC_CTYPE copy "i18n" +% Tamil uses the alternate digits U+0BE6..U+0BEF +outdigit .. + +% This is used in the scanf family of functions to read Tamil numbers +% using "%Id" and such. +map to_inpunct; / + (,); / + (,); / + (,); / + (,); / + (,); / + (,); / + (,); / + (,); / + (,); / + (,); + translit_start include "translit_combining";"" translit_end diff --git a/localedata/locales/te_IN b/localedata/locales/te_IN index f833651a82..d3456244b0 100644 --- a/localedata/locales/te_IN +++ b/localedata/locales/te_IN @@ -36,6 +36,23 @@ END LC_IDENTIFICATION LC_CTYPE copy "i18n" +% Telugu uses the alternate digits U+0C66..U+0C6F +outdigit .. + +% This is used in the scanf family of functions to read Telugu numbers +% using "%Id" and such. +map to_inpunct; / + (,); / + (,); / + (,); / + (,); / + (,); / + (,); / + (,); / + (,); / + (,); / + (,); + translit_start include "translit_combining";"" translit_end