public static String urlDecode(String s) {
    try {
      //s = unescapeString(s, _URIEscape, "", false);
      s = URLDecoder.decode(s, "UTF-8");
    } catch (Exception e) {
      s = null;
    }
    return s;
  }
public static String urlDecode(String s) {
    try {
      
      s = URLDecoder.decode(s, "UTF-8");
    } catch (Exception e) {
      s = null;
    }
    return s;
  }
public static String urlDecode ( String s ) { try { //s = unescapeString(s, _URIEscape, "", false); s = URLDecoder . decode ( s , "UTF-8" ) ; } catch ( Exception e ) { s = null ; } return s ; }
Define the DEFINITIVE URL unescape function.

@param s The string to unescape.
@return The unescaped expression.
Define the DEFINITIVE URL unescape function .