From 2cf8a390dd0f7bd851f13aac6e67de9841331744 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sun, 25 Sep 2005 17:12:25 +0000 Subject: [BZ #714] 2005-09-25 Ulrich Drepper [BZ #714] * iconv/loop.c [!STORE_REST] (SINGLE): Correctly record number of left-over bytes and store them correctly. * iconvdata/tst-iconv6.c: New file. * iconvdata/Makefile (tests): Add tst-iconv6. --- ChangeLog | 8 + localedata/ChangeLog | 5 + localedata/SUPPORTED | 1 + localedata/locales/km_KH | 1904 ++++++++++++++++++++++++++++++++++++++++++++++ wcsmbs/tst-mbrtowc2.c | 10 +- 5 files changed, 1923 insertions(+), 5 deletions(-) create mode 100644 localedata/locales/km_KH diff --git a/ChangeLog b/ChangeLog index 918c353b3f..c5f3f8638b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2005-09-25 Ulrich Drepper + + [BZ #714] + * iconv/loop.c [!STORE_REST] (SINGLE): Correctly record number of + left-over bytes and store them correctly. + * iconvdata/tst-iconv6.c: New file. + * iconvdata/Makefile (tests): Add tst-iconv6. + 2005-09-24 Roland McGrath * sysdeps/unix/sysv/i386/signal.S: Removed, saved in ports repository. diff --git a/localedata/ChangeLog b/localedata/ChangeLog index db40dc6afd..e1dd5edb72 100644 --- a/localedata/ChangeLog +++ b/localedata/ChangeLog @@ -1,5 +1,10 @@ 2005-09-25 Ulrich Drepper + * SUPPORTED (SUPPORTED-LOCALES): Add km_KH. + + [BZ #826] + * locales/km_KH: New file. + * Makefile (LOCALES): Add zh_TW.EUC-TW. 2005-09-24 Ulrich Drepper diff --git a/localedata/SUPPORTED b/localedata/SUPPORTED index a15f676aa4..558083bed1 100644 --- a/localedata/SUPPORTED +++ b/localedata/SUPPORTED @@ -222,6 +222,7 @@ kk_KZ.UTF-8/UTF-8 \ kk_KZ/PT154 \ kl_GL.UTF-8/UTF-8 \ kl_GL/ISO-8859-1 \ +km_KH/UTF-8 \ kn_IN/UTF-8 \ ko_KR.EUC-KR/EUC-KR \ ko_KR.UTF-8/UTF-8 \ diff --git a/localedata/locales/km_KH b/localedata/locales/km_KH new file mode 100644 index 0000000000..07052af65f --- /dev/null +++ b/localedata/locales/km_KH @@ -0,0 +1,1904 @@ +escape_char / +comment_char % + +% +% Khmer Language Locale for Cambodia +% +% Name: km_KH +% Author: Jens Herden +% Contact: +% E-mail: jens@khmeros.info +% Language: Khmer +% Territory: Cambodia +% Charset: UTF-8 +% Revision: 1.0 +% Date: 2005-03-15 +% + +% +% Copyright (C) 2005 Open Forum of Cambodia (www.forum.org.kh) + +% +% Permission is hereby granted, free of charge, to any person obtaining +% a copy of this software and associated documentation files (the "Software"), +% to deal in the Software without restriction, including without limitation +% the rights to use, copy, modify, merge, publish, distribute, sublicense, +% and/or sell copies of the Software, and to permit persons to whom the +% Software is furnished to do so, subject to the following conditions: +% +% The above copyright notice and this permission notice shall be included +% in all copies or substantial portions of the Software. +% +% THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +% IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +% FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL +% THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR +% OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, +% ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR +% OTHER DEALINGS IN THE SOFTWARE. +% +% + +LC_IDENTIFICATION +title "Khmer locale for Cambodia" +source "" +address "" +contact "Jens Herden at: jens@khmeros.info" +email "bug-glibc-locales@gnu.org" +tel "" +fax "" +language "Khmer" +territory "Cambodia" +revision "1.0" +date "2005-3-15" +% +category "km_KH:2000";LC_IDENTIFICATION +category "km_KH:2000";LC_CTYPE +category "km_KH:2000";LC_COLLATE +category "km_KH:2000";LC_TIME +category "km_KH:2000";LC_NUMERIC +category "km_KH:2000";LC_MONETARY +category "km_KH:2000";LC_MESSAGES +category "km_KH:2000";LC_PAPER +category "km_KH:2000";LC_NAME +category "km_KH:2000";LC_ADDRESS +category "km_KH:2000";LC_TELEPHONE + +END LC_IDENTIFICATION + +LC_CTYPE +%copy "i18n" +%translit_start +%include "translit_combining";"" +%translit_end + + +upper ;/ + ;/ + ;/ + ;/ + ;/ + ;/ + ;/ + ;/ + ;/ + ;/ + ;/ + ;/ + ;/ + ;/ + ;/ + ;/ + ;/ + ;/ + ;/ + ;/ + ;/ + ;/ + ;/ + ;/ + ;/ + + +lower ;/ + ;/ + ;/ + ;/ + ;/ + ;/ + ;/ + ;/ + ;/ + ;/ + ;/ + ;/ + ;/ + ;/ + ;/ + ;/ + ;/ + ;/ + ;/ + ;/ + ;/ + ;/ + ;/ + ;/ + ;/ + + +alpha ;/ + ;/ + ;/ + ;/ + ;/ + ;/ + ;/ + ;/ + ;/ + ;/ + ;/ + ;/ + ;/ + ;/ + ;/ + ;/ + ;/ + ;/ + ;/ + ;/ + ;/ + ;/ + ;/ + ;/ + ;/ + ;/ + ;/ + ;/ + ;/ + ;/ + ;/ + ;/ + ;/ + ;/ + ;/ + ;/ + ;/ + ;/ + ;/ + ;/ + ;/ + ;/ + ;/ + ;/ + ;/ + ;/ + ;/ + ;/ + ;/ + ;/ + ;/ + ;/ + ;/ + ;/ + ;/ + ;/ + ;/ + ;/ + ;/ + ;/ + ;/ + ;/ + ;/ + ;/ + ;/ + ;/ + ;/ + ;/ + ;/ + ;/ + ;/ + ;/ + ;/ + ;/ + ;/ + ;/ + ;/ + ;/ + ;/ + ;/ + ;/ + ;/ + ;/ + ;/ + ;/ + ;/ + ;/ + ;/ + ;/ + ;/ + ;/ + ;/ + ;/ + ;/ + ;/ + ;/ + ;/ + ;/ + ;/ + ;/ + ;/ + ;/ + ;/ + ;/ + ;/ + ;/ + ;/ + ;/ + ;/ + ;/ + ;/ + ;/ + ;/ + ;/ + ;/ + ;/ + ;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);/ + (,);/ + (,) + +tolower (,);/ + (,);/ + (,);/ + (,);/ + (,);/ + (,);/ + (,);/ + (,);/ + (,);/ + (,);/ + (,);/ + (,);/ + (,);/ + (,);/ + (,);/ + (,);/ + (,);/ + (,);/ + (,);/ + (,);/ + (,);/ + (,);/ + (,);/ + (,);/ + (,);/ + (,) + +END LC_CTYPE + +LC_COLLATE + +% + +collating-element from "" +collating-element from "" +collating-element from "" +collating-element from "" +collating-element from "" +collating-element from "" +collating-element from "" +collating-element from "" +collating-element from "" +collating-element from "" +collating-element from "" +collating-element from "" +collating-element from "" +collating-element from "" +collating-element from "" +collating-element from "" +collating-element from "" +collating-element from "" +collating-element from "" +collating-element from "" +collating-element from "" +collating-element from "" +collating-element from "" +collating-element from "" +collating-element from "" +collating-element from "" +collating-element from "" +collating-element from "" +collating-element from "" +collating-element from "" +collating-element from "" +collating-element from "" +collating-element from "" +collating-element from "" +collating-element from "" +collating-element from "" +collating-element from "" +collating-element from "" +collating-element from "" +collating-element from "" +collating-element from "" +collating-element from "" + + +% Define collation weights as symbols + +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol + +order_start forward;forward;forward;forward + + +% collation weights in order + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +% assignment of characters to weights + + IGNORE;IGNORE;IGNORE; + IGNORE;IGNORE;IGNORE; + IGNORE;IGNORE;IGNORE; + IGNORE;IGNORE;IGNORE; + IGNORE;IGNORE;IGNORE; + IGNORE;IGNORE;IGNORE; + IGNORE;IGNORE;IGNORE; + IGNORE;IGNORE;IGNORE; + IGNORE;IGNORE;IGNORE; + IGNORE;IGNORE;IGNORE; + IGNORE;IGNORE;IGNORE; + IGNORE;IGNORE;IGNORE; + IGNORE;IGNORE;IGNORE; + IGNORE;IGNORE;IGNORE; + IGNORE;IGNORE;IGNORE; + IGNORE;IGNORE;IGNORE; + IGNORE;IGNORE;IGNORE; + IGNORE;IGNORE;IGNORE; + IGNORE;IGNORE;IGNORE; + IGNORE;IGNORE;IGNORE; + IGNORE;IGNORE;IGNORE; + IGNORE;IGNORE;IGNORE; + IGNORE;IGNORE;IGNORE; + IGNORE;IGNORE;IGNORE; + IGNORE;IGNORE;IGNORE; + IGNORE;IGNORE;IGNORE; + IGNORE;IGNORE;IGNORE; + IGNORE;IGNORE;IGNORE; + IGNORE;IGNORE;IGNORE; + IGNORE;IGNORE;IGNORE; + IGNORE;"";"";IGNORE + IGNORE;"";"";IGNORE + IGNORE;"";"";IGNORE + IGNORE;"";"";IGNORE + IGNORE;"";"";IGNORE + IGNORE;"";"";IGNORE + IGNORE;"";"";IGNORE + IGNORE;"";"";IGNORE + IGNORE;"";"";IGNORE + IGNORE;"";"";IGNORE + IGNORE;"";"";IGNORE + ;;;IGNORE + ;;;IGNORE + ;;;IGNORE + ;;;IGNORE + ;;;IGNORE + ;;;IGNORE + ;;;IGNORE + ;;;IGNORE + ;;;IGNORE + ;;;IGNORE + ;;;IGNORE + ;;;IGNORE + ;;;IGNORE + ;;;IGNORE + ;;;IGNORE + ;;;IGNORE + "";;"";IGNORE + "";;"";IGNORE + "";;"";IGNORE + "";;"";IGNORE + "";;"";IGNORE + "";;"";IGNORE + "";;"";IGNORE + "";;"";IGNORE + "";;"";IGNORE + ;;;IGNORE + ;;;IGNORE + ;;;IGNORE + ;;;IGNORE + ;;;IGNORE + ;;;IGNORE + ;;;IGNORE + ;;;IGNORE + ;;;IGNORE + ;;;IGNORE + ;;;IGNORE + ;;;IGNORE + ;;;IGNORE + ;;;IGNORE + ;;;IGNORE + ;;;IGNORE + ;;;IGNORE + ;;;IGNORE + ;;;IGNORE + ;;;IGNORE + ;;;IGNORE + ;;;IGNORE + ;;;IGNORE + ;;;IGNORE + ;;;IGNORE + ;;;IGNORE + ;;;IGNORE + ;;;IGNORE + ;;;IGNORE + ;;;IGNORE + ;;;IGNORE + ;;;IGNORE + ;;;IGNORE + ;;;IGNORE + ;;;IGNORE + ;;;IGNORE + ;;;IGNORE + ;;;IGNORE + ;;;IGNORE + ;;;IGNORE + ;;;IGNORE + ;;;IGNORE + ;;;IGNORE + ;;;IGNORE + ;;;IGNORE + ;;;IGNORE + ;;;IGNORE + ;;;IGNORE + ;;;IGNORE + ;;;IGNORE + ;;;IGNORE + ;;;IGNORE + ;;;IGNORE + ;;;IGNORE + ;;;IGNORE + ;;;IGNORE + ;"";"";IGNORE + ;"";"";IGNORE + ;;;IGNORE + ;"";"";IGNORE + ;"";"";IGNORE + ;;;IGNORE + ;"";"";IGNORE + ;"";"";IGNORE + ;;;IGNORE + ;"";"";IGNORE + ;"";"";IGNORE + ;;;IGNORE + ;"";"";IGNORE + ;"";"";IGNORE + ;;;IGNORE + ;"";"";IGNORE + ;"";"";IGNORE + ;;;IGNORE + ;"";"";IGNORE + ;"";"";IGNORE + ;;;IGNORE + ;"";"";IGNORE + ;"";"";IGNORE + ;;;IGNORE + ;"";"";IGNORE + ;"";"";IGNORE + ;;;IGNORE + ;"";"";IGNORE + ;"";"";IGNORE + ;;;IGNORE + ;;;IGNORE + ;;;IGNORE + ;;;IGNORE + ;;;IGNORE + ;;;IGNORE + ;;;IGNORE + ;;;IGNORE + ;;;IGNORE + ;;;IGNORE + ;;;IGNORE + ;;;IGNORE + ;;;IGNORE + ;;;IGNORE + ;;;IGNORE + ;;;IGNORE + ;;;IGNORE + ;;;IGNORE + ;;;IGNORE + ;;;IGNORE + ;;;IGNORE + ;;;IGNORE + ;;;IGNORE + ;;;IGNORE + ;;;IGNORE + ;;;IGNORE + ;;;IGNORE + ;;;IGNORE + ;;;IGNORE + ;;;IGNORE + ;;;IGNORE + ;;;IGNORE + ;;;IGNORE + ;;;IGNORE + ;;;IGNORE + ;;;IGNORE + ;;;IGNORE + ;;;IGNORE + ;;;IGNORE + ;;;IGNORE + ;;;IGNORE + ;;;IGNORE + ;;;IGNORE + ;;;IGNORE + ;;;IGNORE + ;;;IGNORE + ;;;IGNORE + ;;;IGNORE + ;;;IGNORE + ;;;IGNORE + ;;;IGNORE + ;;;IGNORE + ;;;IGNORE + ;;;IGNORE + ;;;IGNORE + ;;;IGNORE + ;;;IGNORE + ;;;IGNORE + ;;;IGNORE + ;;;IGNORE + ;;;IGNORE + ;;;IGNORE + ;;;IGNORE + ;;;IGNORE + ;;;IGNORE + ;;;IGNORE + ;;;IGNORE + ;;;IGNORE + ;;;IGNORE + ;;;IGNORE + ;;;IGNORE + ;;;IGNORE + ;;;IGNORE + ;;;IGNORE + ;;;IGNORE + ;;;IGNORE + ;;;IGNORE + ;;;IGNORE + ;;;IGNORE + "";"";"";IGNORE + "";"";"";IGNORE + "";"";"";IGNORE + "";"";"";IGNORE + "";"";"";IGNORE + "";"";"";IGNORE + "";"";"";IGNORE + "";"";"";IGNORE + "";"";"";IGNORE + "";"";"";IGNORE + "";"";"";IGNORE + "";"";"";IGNORE + "";"";"";IGNORE + "";"";"";IGNORE + "";"";"";IGNORE + "";"";"";IGNORE + "";"";"";IGNORE + "";"";"";IGNORE + "";"";"";IGNORE + "";"";"";IGNORE + "";"";"";IGNORE + "";"";"";IGNORE + "";"";"";IGNORE + "";"";"";IGNORE + "";"";"";IGNORE + "";"";"";IGNORE + "";"";"";IGNORE + "";"";"";IGNORE + "";"";"";IGNORE + "";"";"";IGNORE + "";"";"";IGNORE + "";"";"";IGNORE + "";"";"";IGNORE + "";"";"";IGNORE + "";"";"";IGNORE + "";"";"";IGNORE + "";"";"";IGNORE + "";"";"";IGNORE + "";"";"";IGNORE + "";"";"";IGNORE + "";;"";IGNORE + "";;"";IGNORE + ;;;IGNORE + "";;"";IGNORE + "";;"";IGNORE + ;;;IGNORE + ;;;IGNORE + ;;;IGNORE + ;;;IGNORE + ;;;IGNORE + ;;;IGNORE + ;;;IGNORE + ;;;IGNORE + "";"";"";IGNORE + "";"";"";IGNORE + "";"";"";IGNORE + "";"";"";IGNORE + "";"";"";IGNORE + "";"";"";IGNORE + "";"";"";IGNORE + "";"";"";IGNORE + "";"";"";IGNORE + "";"";"";IGNORE + "";"";"";IGNORE + "";"";"";IGNORE + ;;;IGNORE + ;;;IGNORE + ;;;IGNORE + ;;;IGNORE + ;;;IGNORE + ;;;IGNORE + ;;;IGNORE + ;;;IGNORE + ;;;IGNORE + ;;;IGNORE + ;;;IGNORE + ;;;IGNORE + ;;;IGNORE + ;;;IGNORE + ;;;IGNORE + ;;;IGNORE + "";;"";IGNORE + "";;"";IGNORE + "";;"";IGNORE + "";;"";IGNORE + ;;;IGNORE +UNDEFINED IGNORE;IGNORE;IGNORE;IGNORE + +order_end + +END LC_COLLATE + +LC_MONETARY + +int_curr_symbol "" + +% monetary unit: Riel +currency_symbol "" +mon_decimal_point "" +mon_thousands_sep "" +mon_grouping 3;3 +positive_sign "" +negative_sign "" +int_frac_digits 2 +frac_digits 2 +p_cs_precedes 0 +p_sep_by_space 0 +n_cs_precedes 0 +n_sep_by_space 0 +p_sign_posn 1 +n_sign_posn 1 +int_p_cs_precedes 0 +int_p_sep_by_space 0 +int_n_cs_precedes 0 +int_n_sep_by_space 0 +int_p_sign_posn 1 +int_n_sign_posn 1 +END LC_MONETARY + + +LC_NUMERIC + +decimal_point "" +thousands_sep "" +grouping 3 + +END LC_NUMERIC + +LC_TIME + +abday "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "" + +day "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "" + +abmon "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "" + +mon "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "" + +d_t_fmt "%A %e %B %Y, %H m %S " + +d_fmt "%e %B %Y" + +t_fmt "%H:%M:%S" + +am_pm "";"" + +% Appropriate 12-hour clock representation "%I:%M:%S %p" +%t_fmt_ampm "%I%M%S%p" + +% Era : Buddhist Era +%era "+:1:-5430101:+*::%EC%Ey" +%era_d_fmt "%e%b%Ey" +%era_t_fmt "%H%M%S" +%era_d_t_fmt "%A%e%B%EC%Ey%H%M%S" + +% Appropriate date representation (date(1)) "%a %e %b %Ey %H:%M:%S %Z" +%date_fmt "/ +%/ +%" +% ICT-7ICT-7 +%timezone "" + +END LC_TIME + +LC_MESSAGES + +yesstr "yes:YES:y:Y" + +nostr "no:NO:n:N" + +yesexpr "^[yY]([eE][sS])?" + +noexpr "^[nN][oO]?" + +END LC_MESSAGES + +LC_PAPER +height 297 +width 210 +END LC_PAPER + +LC_TELEPHONE +tel_int_fmt "/ +" +tel_dom_fmt "" +int_select "" +int_prefix "" +END LC_TELEPHONE + +LC_MEASUREMENT +% FIXME +measurement 1 +END LC_MEASUREMENT + +LC_NAME +name_fmt "/ +" + +name_mr "." +name_mrs "." +END LC_NAME + +LC_ADDRESS +% "%f%N%a%N%d%N%r%t%e%t%b%N%h%t%s%N%T%N%S%N%z%c%N" +postal_fmt "/ +/ +/ +/ +" +country_name "" +%FIXME +%country_post "" +country_ab2 "" +country_ab3 "" +country_num 418 +country_car "" +%FIXME +%country_isbn "" +lang_name "" +lang_ab "" +lang_term "" +lang_lib "" +END LC_ADDRESS diff --git a/wcsmbs/tst-mbrtowc2.c b/wcsmbs/tst-mbrtowc2.c index a3639e99cb..4314bdb137 100644 --- a/wcsmbs/tst-mbrtowc2.c +++ b/wcsmbs/tst-mbrtowc2.c @@ -12,11 +12,11 @@ static struct const char *loc; } tests[] = { - { (const char[]) { 0x8F, 0xA2, 0xAF }, 3, "ja_JP.eucJP" }, - { (const char[]) { 0xD1, 0xA5 }, 2, "ja_JP.eucJP" }, - { (const char[]) { 0x8E, 0xA5 }, 2, "ja_JP.eucJP" }, - { (const char[]) { 0x8E, 0xA2, 0xA1, 0xA1 }, 4, "zh_TW.eucTW" }, - { (const char[]) { 0xA1, 0xA1 }, 2, "zh_TW.eucTW" }, + { (const char[]) { 0x8F, 0xA2, 0xAF }, 3, "ja_JP.EUC-JP" }, + { (const char[]) { 0xD1, 0xA5 }, 2, "ja_JP.EUC-JP" }, + { (const char[]) { 0x8E, 0xA5 }, 2, "ja_JP.EUC-JP" }, + { (const char[]) { 0x8E, 0xA2, 0xA1, 0xA1 }, 4, "zh_TW.EUC-TW" }, + { (const char[]) { 0xA1, 0xA1 }, 2, "zh_TW.EUC-TW" }, { (const char[]) { 0xE3, 0x80, 0x80 }, 3, "en_US.UTF-8" }, { (const char[]) { 0xC3, 0xA4 }, 2, "en_US.UTF-8" } }; -- cgit v1.2.3