String str = "ิ";
System.out.println(str.length());
byte[] b = str.getBytes();
System.out.println(b[0]);
System.out.println(b[1]);
System.out.println(b[2]);
以上是我的code.A spez char在str
。它的长度是1,但是byte
是3。如何使它成为一个?如何打印此char使用java代码?而在我的android手机中,这个字符不能删除。一个奇怪的字符
你能更详细点吗? – Blip
阅读Unicode以及如何在编程中处理它。 – Julian