String str = "C++/C#/JAVA软件开发";
try {
    System.out.println(str.getBytes("UTF-8").length);
} catch (UnsupportedEncodingException e) {
    e.printStackTrace();
}

 

相关文章:

  • 2022-01-21
  • 2021-05-29
  • 2022-12-23
  • 2022-12-23
  • 2021-11-30
  • 2021-07-07
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-01-12
  • 2021-12-14
  • 2022-12-23
  • 2021-05-19
  • 2021-12-05
相关资源
相似解决方案