Uploaded image for project: 'Commons Lang'
  1. Commons Lang
  2. LANG-1184

StringUtils#normalizeSpace no longer normalizes unicode non-breaking spaces (\u00A0)

Attach filesAttach ScreenshotAdd voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 3.4
    • None
    • lang.*
    • None

    Description

      This works with 3.3.2, but fails with 3.4

      assertEquals("a b", StringUtils.normalizeSpace("a\u00A0 b"));

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            pascalschumacher Pascal Schumacher

            Dates

              Created:
              Updated:

              Slack

                Issue deployment