code: protected String decodePercent(String str) {
          String decoded = null;
          try {
              decoded = URLDecoder.decode(str, "UTF8");
          } catch (UnsupportedEncodingException ignored) {
          }
          return decoded;
      }
docs: Decode percent encoded <code>String</code> values.
  
  @param str
  the percent encoded <code>String</code>
  @return expanded form of the input, for example "foo%20bar" becomes
  "foo bar"