From f00f95d188d8b0b8adf6eaff849eba59fe5b5f59 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Thu, 5 Oct 2000 02:01:22 +0000 Subject: Update. * locales/zh_CN: Remove non-ASCII digit entry. * locales/ja_JP: Likewise. 2000-09-30 Bruno Haible * gen-unicode-ctype.c (is_digit, is_xdigit): Remove all non-ASCII digits. (is_alpha): Add them here. * locales/i18n (digit): Remove all non-ASCII digits. (alpha): Add them here. * dump-ctype.c: Pretty print. 2000-10-04 Ulrich Drepper --- localedata/locales/i18n | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) (limited to 'localedata/locales/i18n') diff --git a/localedata/locales/i18n b/localedata/locales/i18n index b284ded6c0..977c58536e 100644 --- a/localedata/locales/i18n +++ b/localedata/locales/i18n @@ -305,13 +305,10 @@ alpha / ..;;..;/ % HALFWIDTH AND FULLWIDTH FORMS/ ..;..;..;..;/ - ..;..;.. - -% The "digit" class of the "i18n" FDCC-set is reflecting -% the recommendations in TR 10176 annex A -digit / -% TABLE 1 BASIC LATIN/ - ..;/ + ..;..;..;/ +% The non-ASCII number characters are included here because ISO C 99 / +% forbids us to classify them as digits; however, they behave more like / +% alphanumeric than like punctuation. / % TABLE 15 and 16 ARABIC/ ..;..;/ % TABLE 17 DEVANAGARI/ @@ -349,6 +346,11 @@ digit / % HALFWIDTH AND FULLWIDTH FORMS/ .. +% The "digit" class must only contain the BASIC LATIN digits, says ISO C 99 +% (sections 7.25.2.1.5 and 5.2.1). +digit / + .. + outdigit .. space / @@ -602,6 +604,8 @@ print / ..;..;..;..;/ .. +% The "xdigit" class must only contain the BASIC LATIN digits and A-F, a-f, +% says ISO C 99 (sections 7.25.2.1.12 and 6.4.4.1). xdigit / ..;..;.. -- cgit v1.2.3