常见的字符串编码有: LATIN1 只能保存ASCII字符,又称ISO-8859-1。 UTF-8 变长字节编码,一个字符需要使用1个、2个或者3个byte表示 ...
Java’s String class encapsulates an array of bytes. A byte can be converted to a char, in which case, String becomes an array of characters used to compose words, sentences, or any other data you want ...