However, in the case of a multi-byte encoding, the length of the character in bytes varies according to the encoding used, and each character can be one or more bytes in length.
但是对于多字节编码,字符的字节长度随使用编码模式的不同而不同,每个字符的长度可能是一个字节或多个字节。
In the case of a single-byte character encoding scheme, a single byte constitutes a character and the length of a single byte string is the same as the byte length of the string.
对于单字节字符编码模式,一个字节组成一个字符,单字节字符串的长度与字符串的字节长度相同。
The length of the character string is dependent on the character encoding (ASCII, EBCDIC, and Unicode) that is used to encode the character.
字符字符串的长度取决于用于编码字符的字符编码方式(ASCII、EBCDIC和Unicode)。
Consider that you have a character in UTF-8 encoding has length of 3 bytes, and the string has only the first two byte of the encoding.
假设您拥有一个UTF - 8编码的字符,其长度为3字节,而字符串只拥有编码的前两个字节。
Unicode character encoding standard is a fixed-length character that provides a unique code point for every character in the world regardless of the platform, program, or the language.
Unicode字符编码标准是固定长度的字符,它为世界上的每一个字符都提供了一个惟一的代码点,无论平台、程序或语言如何。
Implementation will be used as the character encoding of high frequency low as possible, thus making the total length of the reduction.
以此实现将使用频率高的字符的编码尽可能的少,也就使得总的长度减少。
Implementation will be used as the character encoding of high frequency low as possible, thus making the total length of the reduction.
以此实现将使用频率高的字符的编码尽可能的少,也就使得总的长度减少。
应用推荐