|
不是很明白你具体问什么<br />String 有这个 methode byte[] getBytes(String charsetName) <br />你可以输入 UTF8 得到 找个中文在UTF8编码时的 byte<br />Charset<br /> Description<br /> <br />US-ASCII Seven-bit ASCII, a.k.a. ISO646-US, a.k.a. the Basic Latin block of the Unicode character set <br />ISO-8859-1 ISO Latin Alphabet No. 1, a.k.a. ISO-LATIN-1 <br />UTF-8 Eight-bit UCS Transformation Format <br />UTF-16BE Sixteen-bit UCS Transformation Format, big-endian byte order <br />UTF-16LE Sixteen-bit UCS Transformation Format, little-endian byte order <br />UTF-16 Sixteen-bit UCS Transformation Format, byte order identified by an optional byte-order mark <br /> |
|