jdk doc里面不是说了吗,你看看api文档就知道了public static String encode(String s)
Deprecated. The resulting string may vary depending on the platform's default encoding. Instead, use the encode(String,String) method to specify the encoding. encode(String s)不推荐使用,改用encode(String,String)来代替
Deprecated. The resulting string may vary depending on the platform's default encoding. Instead, use the encode(String,String) method to specify the encoding. encode(String s)不推荐使用,改用encode(String,String)来代替
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货