ICU-221 exclude all no-break spaces from u_isWhitespace()

X-SVN-Rev: 1602
This commit is contained in:
Markus Scherer 2000-06-12 19:48:05 +00:00
parent e48e4ed6ff
commit 8703e9d817

View file

@ -453,7 +453,7 @@ u_isWhitespace(UChar32 c) {
return ((1UL<<GET_CATEGORY(GET_PROPS(c)))&
(1UL<<U_SPACE_SEPARATOR|1UL<<U_LINE_SEPARATOR|1UL<<U_PARAGRAPH_SEPARATOR)
)!=0 &&
c!=0xa0 && c!=0xfeff;
c!=0xa0 && c!=0x202f && c!=0xfeff; /* exclude no-break spaces */
}
/* Checks if the Unicode character is printable.*/