summary refs log tree commit diff
path: root/localedata/locales/i18n
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-10-05 02:01:22 +0000
committerUlrich Drepper <drepper@redhat.com>2000-10-05 02:01:22 +0000
commitf00f95d188d8b0b8adf6eaff849eba59fe5b5f59 (patch)
tree006b382527502c8227b0e6552ab389307303ef5f /localedata/locales/i18n
parent84ca314775458b3c80d4ce1763c4517a5e0d3b1a (diff)
downloadglibc-f00f95d188d8b0b8adf6eaff849eba59fe5b5f59.tar.gz
glibc-f00f95d188d8b0b8adf6eaff849eba59fe5b5f59.tar.xz
glibc-f00f95d188d8b0b8adf6eaff849eba59fe5b5f59.zip
Update.
	* locales/zh_CN: Remove non-ASCII digit entry.
	* locales/ja_JP: Likewise.

2000-09-30  Bruno Haible  <haible@clisp.cons.org>

	* 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  <drepper@redhat.com>
Diffstat (limited to 'localedata/locales/i18n')
-rw-r--r--localedata/locales/i18n18
1 files changed, 11 insertions, 7 deletions
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 /
    <UFE70>..<UFE72>;<UFE74>;<UFE76>..<UFEFC>;/
 % HALFWIDTH AND FULLWIDTH FORMS/
    <UFF21>..<UFF3A>;<UFF41>..<UFF5A>;<UFF66>..<UFFBE>;<UFFC2>..<UFFC7>;/
-   <UFFCA>..<UFFCF>;<UFFD2>..<UFFD7>;<UFFDA>..<UFFDC>
-
-% The "digit" class of the "i18n" FDCC-set is reflecting
-% the recommendations in TR 10176 annex A
-digit /
-% TABLE 1 BASIC LATIN/
-  <U0030>..<U0039>;/
+   <UFFCA>..<UFFCF>;<UFFD2>..<UFFD7>;<UFFDA>..<UFFDC>;/
+% 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/
   <U0660>..<U0669>;<U06F0>..<U06F9>;/
 % TABLE 17 DEVANAGARI/
@@ -349,6 +346,11 @@ digit /
 % HALFWIDTH AND FULLWIDTH FORMS/
    <UFF10>..<UFF19>
 
+% 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 /
+   <U0030>..<U0039>
+
 outdigit <U0030>..<U0039>
 
 space /
@@ -602,6 +604,8 @@ print /
    <UFFD2>..<UFFD7>;<UFFDA>..<UFFDC>;<UFFE0>..<UFFE6>;<UFFE8>..<UFFEE>;/
    <UFFF9>..<UFFFD>
 
+% 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 /
    <U0030>..<U0039>;<U0041>..<U0046>;<U0061>..<U0066>