Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cross-project-issues-dev] requirement


Sure, be a little helpful and you end up with yet more work! :-P

I've opened though I'm not sure it's in the right component.


Henrik Lindberg wrote:
As far as I can tell...
8199 is a "non breaking space", so it makes sense that it is not interpreted as whitespace, and the zero width space is intended for line break control (i.e. break the line here if needed) and is indeed whitespace. 

So to me, the Character implementation appears to be correct.

Ed, why not submit your test as a JUnit test to ICU4J ;)

On Jan 21, 2009, at 1:47 PM, Oberhuber, Martin wrote:

Character and UCharacter dissagree on codePoint=8199
   Character.isWhitespace(8199) == false
   UCharacter.isWhitespace(8199) == true
Character and UCharacter dissagree on codePoint=8203
   Character.isWhitespace(8203) == true
   UCharacter.isWhitespace(8203) == false
CodePoint 8203: ZERO_WIDTH_SPACE
Not sure what to do with this info, though... for FIGURE_SPACE, we get
   Character.isSpaceChar() true
   Character.isWhitespace() false
which seems odd...
cross-project-issues-dev mailing list

_______________________________________________ cross-project-issues-dev mailing list cross-project-issues-dev@xxxxxxxxxxx

Back to the top