对于单字节字符编码模式,一个字节组成一个字符,单字节字符串的长度与字符串的字节长度相同。
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.
标准 ASCII 为英语语言中的一个单字节字符分配一个数值,比如十进制格式的 0 到 127。
Standard ASCII assigns a single-byte character in the English language to a numeric value, such as 0 to 127 in decimal format.
在图6中,搜索第三个字节后的字符,如果所有的字符都是单字节字符的话应该搜索到第二次出现的“a”字符。
In Figure 6, shows a search for the character after the third byte, which would have been the second occurrence of the character "a" if all were single byte characters.
应用推荐