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

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

    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

            People

              Unassigned Unassigned
              pascalschumacher Pascal Schumacher
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: