java.lang.Object
java.net.URLEncoder
- See Also:
- Top Examples, Source Code
@Deprecated
public static String encode(String s)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public static String encode(String s,
String enc)
throws UnsupportedEncodingException
- See Also:
URLDecoder.decode(java.lang.String, java.lang.String)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
[407]URL Encoding
By mathpets { at } hotmail { dot } com on 2005/02/08 02:02:55 Rate
URLEncoder.encode ( "some value", "UTF-8" ) ;
[674]_
By hyy_lxy { at } att { dot } com on 2004/02/25 10:25:08 Rate
URLEncoder.encode ( "carol's value", "UTF-8" ) ;
[1959]String s is expected to be Unicode
By Anonymous on 2008/03/07 13:50:29 Rate
the String s is expected to be a unicode string; if it's string encoded in some other format ( like UTF-8 or Latin-1 ) , this will mangle it.