mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-19 11:45:45 +00:00
ICU-221 exclude all no-break spaces from u_isWhitespace()
X-SVN-Rev: 1602
This commit is contained in:
parent
e48e4ed6ff
commit
8703e9d817
1 changed files with 1 additions and 1 deletions
|
@ -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.*/
|
||||
|
|
Loading…
Add table
Reference in a new issue