public static String decode(String s){
  if (s == null) {
    return null;
  }
  return UriCodec.decode(s,false,StandardCharsets.UTF_8,false);
}

public static String decode ( String s ) { if ( s == null ) { return null ; } return UriCodec . decode ( s , false , StandardCharsets . UTF_8 , false ) ; }
decodes ' % ' - escaped octets in the given string using the utf - 8 scheme . replaces invalid octets with the unicode replacement character ( " \ \ ufffd " ) .
