/src/main/java/org/htmlunit/util/UrlUtils.java
final byte[] bytes = US_ASCII.getBytes( escaped) ;
final byte[] bytes = escaped.getBytes ( US_ASCII ) ;
return null; } return encode(query, QUERY_ALLOWED_CHARS, UTF_8); } public static String decode(final String escaped) { try { <extra_id_0> final byte[] bytes2 = URLCodec.decodeUrl(bytes); return new String(bytes2, UTF_8); } catch (final DecoderException e) { throw new RuntimeException(e); }