Github user garydgregory commented on the pull request:
https://github.com/apache/commons-lang/pull/113#issuecomment-172369835
Hi All,
I'm more concerned about what the proper behavior of the method is, rather
than its behavior in some past arbitrary version. Since Java does not define a
nbsp as a whitespace, it should not be normalized away IMO. Now, if you want it
normalized, we could talk about adding another method or documenting how to
deal with this special use case.
Are there other characters that are ws-like characters that return false
for Character.isWhitespace(). Unicode is pretty rich, maybe there is more. What
would this new method be called?
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---