Sorry for dragging this issue but I have become uncertain ...
It seems that omitting the non-breaking spaces (yes it is a character
class in unicode) from whitespace is deliberate.
See this bug report for proof:
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=5039533
Further it seems that Visual Studio 2005 defines whitespace the same way.
http://msdn.microsoft.com/en-us/library/aa989424%28v=vs.80%29.aspx
I would still personally consider it as whitespace but I wanted to give
you as much info as possible so you can
make the best decision.
The only useful use I can come up with if nbsp is not whitespace would
be to allow it in table name or in some other variable names.
But I do NOT think it is a wise decision because first of all it is
difficult to input(write).
But more importantly it is impossible to set it apart from a normal
space visually.
I feel that excluding nbsp from whitespaces is a bad decision from the
programming community.
- rami
On 26.6.2011 18:04, Thomas Mueller wrote:
Hi,
I see. I will use isSpaceChar instead of isWhitespace.
Regards,
Thomas
--
You received this message because you are subscribed to the Google Groups "H2
Database" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/h2-database?hl=en.