jar包:rt.jar 解释: 当content-type=x-www-form-urlencoded,使用get发送请求参数中含中文时,使用该方法将中文转换: String keywords = URLEncoder.encode("北京", "utf-8");