summaryrefslogtreecommitdiffstats
path: root/generic/regc_locale.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2014-07-11 10:38:55 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2014-07-11 10:38:55 (GMT)
commitdf203baa1f787de574237d71c3df4491edc0dae4 (patch)
tree30ba70d08a8d04c578395576230330a8fc7e09ad /generic/regc_locale.c
parent8f7dce1bcda533fc3f4cc6aecee46e7ab6a4a7b3 (diff)
downloadtcl-df203baa1f787de574237d71c3df4491edc0dae4.zip
tcl-df203baa1f787de574237d71c3df4491edc0dae4.tar.gz
tcl-df203baa1f787de574237d71c3df4491edc0dae4.tar.bz2
Starting with Unicode 6.3, the mongolian vowel separator (U+180e) is no longer a whitespace, but for Tcl it still is.
"NEL/Next Line" (U+0085) should have been a Unicode whitespace, but never was in Tcl. This is corrected in Tcl 8.6, but for legacy reasons not in Tcl 8.5. Update documentation accordingly, and extend test-cases for Unicode 7 compliance.
Diffstat (limited to 'generic/regc_locale.c')
-rw-r--r--generic/regc_locale.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/regc_locale.c b/generic/regc_locale.c
index 8dba520..e056078 100644
--- a/generic/regc_locale.c
+++ b/generic/regc_locale.c
@@ -381,8 +381,8 @@ static const crange spaceRangeTable[] = {
#define NUM_SPACE_RANGE (sizeof(spaceRangeTable)/sizeof(crange))
static const chr spaceCharTable[] = {
- 0x20, 0xa0, 0x1680, 0x180e, 0x2028, 0x2029, 0x202f, 0x205f, 0x2060,
- 0x3000, 0xfeff
+ 0x20, 0xa0, 0x1680, 0x180e, 0x2028, 0x2029, 0x202f, 0x205f,
+ 0x3000
};
#define NUM_SPACE_CHAR (sizeof(spaceCharTable)/sizeof(chr))