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