Details

      Description

      The toUpperCase method of the StringUtil class uses the toLowerCase method of the String class if using non-ascii values.

      The following two tests fail:

      	@Test
      	public void testNonAsciiLower() {
      		String value = StringUtil.toUpperCase("äöüß", Locale.GERMAN);
      		assertEquals("ÄÖÜSS", value);
      	}
      	
      	@Test
      	public void testNonAsciiUpper() {
      		String value = StringUtil.toUpperCase("ÄÖÜSS", Locale.GERMAN);
      		assertEquals("ÄÖÜSS", value);
      	}
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                hugo.huijser Hugo Huijser
                Reporter:
                frickeo Olaf Fricke
                Participants of an Issue:
                Recent user:
                Esther Sanz
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  5 years, 22 weeks ago

                  Packages

                  Version Package
                  6.1.X EE
                  6.2.X EE
                  7.0.0 M1