[ https://issues.apache.org/jira/browse/LANG-1184?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14994320#comment-14994320 ]
ASF GitHub Bot commented on LANG-1184: -------------------------------------- GitHub user PascalSchumacher opened a pull request: https://github.com/apache/commons-lang/pull/113 LANG-1184: StringUtils#normalizeSpace no longer normalizes unicode no… …n-breaking spaces (\u00A0) and does not trim control chars at the end anymore https://issues.apache.org/jira/browse/LANG-1184 You can merge this pull request into a Git repository by running: $ git pull https://github.com/PascalSchumacher/commons-lang LANG-1184 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/commons-lang/pull/113.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #113 ---- commit 0ee9bcb2e7ad662829276cd207f0a5ceeee616ea Author: Pascal Schumacher <pascalschumac...@gmx.net> Date: 2015-11-06T19:41:21Z LANG-1184: StringUtils#normalizeSpace no longer normalizes unicode non-breaking spaces (\u00A0) and does not trim control chars at the end anymore ---- > StringUtils#normalizeSpace no longer normalizes unicode non-breaking spaces > (\u00A0) and does not trim control chars at the end any more > ---------------------------------------------------------------------------------------------------------------------------------------- > > Key: LANG-1184 > URL: https://issues.apache.org/jira/browse/LANG-1184 > Project: Commons Lang > Issue Type: Bug > Components: lang.* > Affects Versions: 3.4 > Reporter: Pascal Schumacher > > These work with 3.3.2, but fail with 3.4 > {code:java}assertEquals("a b", StringUtils.normalizeSpace("a\u00A0 b"));{code} > {code:java}assertEquals("b", StringUtils.normalizeSpace("b\u0000"));{code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)