Github user PascalSchumacher commented on the issue:
    Thanks for the information. I did not know that `normalizeSpace` replaces 
non-breaking spaces with normal whitespace.
    Both these test succeed:
    assertEquals("a b", StringUtils.normalizeSpace("a\u00A0b"));
    assertEquals("a  b", StringUtils.normalizeSpace("a\u00A0 b"));
    The argument brought forward as to why `normalizeSpace` does not normalize 
non-breaking space anymore was that `Character#isWhitespace` returns `false`. 
Like I said I do not agree with this argument.

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 or file a JIRA ticket
with INFRA.

Reply via email to