class EncodeDemo2
{
public static void main(String[] args)throws Exception
{
String s = "联通";
byte[] by = s.getBytes("gbk");
for(byte b : by)
{
System.out.println(Integer.toBinaryString(b&255));
}
System.out.println("Holle World!");
}
}
字符编码-联通
最新推荐文章于 2025-09-06 09:33:29 发布