You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2016/09/11 14:20:20 UTC
[jira] [Commented] (LANG-1184) StringUtils#normalizeSpace no longer
normalizes unicode non-breaking spaces (\u00A0)
[ https://issues.apache.org/jira/browse/LANG-1184?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15481824#comment-15481824 ]
ASF GitHub Bot commented on LANG-1184:
--------------------------------------
Github user PascalSchumacher commented on the issue:
https://github.com/apache/commons-lang/pull/184
@phoenix384 The problem is that starting with 3.4 StringUtils#normalizeSpace no longer normalizes unicode non-breaking spaces. I reported this as a bug and argued for reverting this behavior, but other people disagreed. :(
For details see:
https://github.com/apache/commons-lang/pull/113
https://issues.apache.org/jira/browse/LANG-1184
> StringUtils#normalizeSpace no longer normalizes unicode non-breaking spaces (\u00A0)
> ------------------------------------------------------------------------------------
>
> 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
>
> This works with 3.3.2, but fails with 3.4
> {code:java}assertEquals("a b", StringUtils.normalizeSpace("a\u00A0 b"));{code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)