code: public static String redecodeUriComponent(String input) {
  
          if (input == null) {
              return input;
          }
          return new String(
              changeEncoding(input.getBytes(), ENCODING_UTF_8, OpenCms.getSystemInfo().getDefaultEncoding()));
      }
docs: Re-decodes a String that has not been correctly decoded and thus has scrambled
  character bytes.<p>
  
  This is an equivalent to the JavaScript "decodeURIComponent" function.
  It converts from the default "UTF-8" to the currently selected system encoding.<p>
  
  @param input the String to convert
  
  @return String the converted String