String t = "\u53d6";
        try {  
            String gbk=URLEncoder.encode(t,"GBK");
            System.out.println(gbk);  
        } catch (UnsupportedEncodingException e) {
            e.printStackTrace();
        }   

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-12-28
  • 2022-12-23
  • 2022-02-08
  • 2021-09-14
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-11-30
  • 2022-02-21
  • 2022-12-23
  • 2021-11-30
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案