summaryrefslogtreecommitdiffstats
path: root/generic/tclUtf.c
diff options
context:
space:
mode:
authorjan.nijtmans <jan.nijtmans@noemail.net>2013-07-29 10:12:12 (GMT)
committerjan.nijtmans <jan.nijtmans@noemail.net>2013-07-29 10:12:12 (GMT)
commit23da1090949b16db83c8353f1874c559ae0bf0cc (patch)
tree720ebfd9f10b589f15e2a0f208a7246e7363643a /generic/tclUtf.c
parent0050724acacdaf86ccaca11c938d091c707eb8ff (diff)
parent5f456c40e36f5904c3bc57126e765831874cac4c (diff)
downloadtcl-23da1090949b16db83c8353f1874c559ae0bf0cc.zip
tcl-23da1090949b16db83c8353f1874c559ae0bf0cc.tar.gz
tcl-23da1090949b16db83c8353f1874c559ae0bf0cc.tar.bz2
Make sure that "string is space \u202f" will continue to return "1", even if in future Unicode this character (NARROW_NO_BREAK_SPACE) will cease to be a space. See: [http://www.unicode.org/review/pri249/].
Don't hardcode "tclWinError.o" for Cygwin FossilOrigin-Name: a72287aa7ddee6335514b3d64cd4eea243fd995d
Diffstat (limited to 'generic/tclUtf.c')
-rw-r--r--generic/tclUtf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tclUtf.c b/generic/tclUtf.c
index a349846..15529c7 100644
--- a/generic/tclUtf.c
+++ b/generic/tclUtf.c
@@ -1558,7 +1558,7 @@ Tcl_UniCharIsSpace(
return TclIsSpaceProc((char) ch);
} else if ((Tcl_UniChar) ch == 0x0085 || (Tcl_UniChar) ch == 0x180e
|| (Tcl_UniChar) ch == 0x200b || (Tcl_UniChar) ch == 0x2060
- || (Tcl_UniChar) ch == 0xfeff) {
+ || (Tcl_UniChar) ch == 0x202f || (Tcl_UniChar) ch == 0xfeff) {
return 1;
} else {
return ((SPACE_BITS >> GetCategory(ch)) & 1);