Thus, an 8-bit, single-byte-character set (SBCS) is sufficient to represent the ASCII character set, as well as the character sets for many European languages.
因此,8位的单字节字符集(SBCS)足以表示ASCII字符集以及许多欧洲语言的字符集。
It first explained key concepts, such as character and byte semantics with respect to string data.
首先介绍了一些关键概念,如针对字符串数据的字符语义和字节语义。
For documents that contain Unicode characters beyond the ASCII range, the parser must read and convert multiple byte sequences for each character.
对于包含ASCII以外的Unicode字符的文档,解析器必须为每个字符读取和转换多字节序列。
One byte stores one character (e.g. a letter or a number).
1字节存储1个字符(如一个字母或一个数字)。
How to create a byte array that will have a BCC (Block Check Character) of a given value (0)?
如何创建一个字节数组,将有一个BCC(块校验字符)的一个给定的值(0)?
Each byte or sequence of bytes represents a given character.
每个字节或字节序列代表一个给定的字符。
Maximum size is 4000 bytes or characters, and minimum is 1 byte or 1 character.
最大长度为4000字节/字符,最小长度是1字节/字符。
A common reason for an encoding or decoding operation to fail is if the underlying encoding class does not provide a mapping between a character and an equivalent byte sequence.
编码或解码操作失败的常见原因是基础编码类没有提供字符和等效字节序列之间的映射。
An individual character is usually encoded using a byte or more, depending upon the encoding used.
单个字符通常使用一个字节或多个字节进行编码,具体情况取决于使用的编码方式。
The counting of string length using a byte is referred to as byte semantics in this article, and the counting of string length using the number of characters is referred to as character semantics.
本文中将使用字节计算字符串长度的方法称作字节语义,而使用字符数计算字符串长度的方法称作字符语义。
The characters numbered 0 to 0x7f (127) encode to themselves as a single byte, and larger character values are encoded into 2 to 6 bytes.
从0到0x7f(127)的字符把自身编码成单字节,而将值更大的字符编码成2到6个字节。
The locale setting will cause the % ls format specifier in printf to call the wcsrtombs function in order to convert the wide character argument string into the locale-dependent multi-byte encoding.
语言环境设置会导致printf中的%l s格式说明符调用wcsrtombs函数以便于将宽字符的参数字符串转换成依赖语言环境的多字节编码。
Character vs byte semantics of string data.
字符与字符串数据的字节语义之间的对比。
The problem of byte positions being returned for the character positions can be solved using character-based functions.
使用基于字符的函数可以解决将字节位置返回为字符位置的问题。
When statistical software reads a "raw" character format data file consisting of ASCII or EBCDIC characters, it must read each byte in sequence.
当统计软件读取一个以ascii或EBCDIC为格式的原始数据文件时,必须照着顺序一个一个字节地读取。
In character strings, each byte or pair of bytes represents a single alphabetic letter, special character, or number.
在字符串中,每个字节或每对字节代表单个字母、特殊字符或数字。
With international character set, a character can be represented by more than one byte.
对于国际字符集,一个字符可能用几个字节表示。
No longer can the program assume that one byte is one character, so all data has to be decoded from UTF-8 and encoded back to UTF-8.
程序不再假设一个字节就是一个字符,因此所有的数据都需要从UTF-8 进行解码,然后再重新编码成 UTF-8。
This encoding scheme makes it possible to encode an ASCII character with one byte, and a non-ASCII character with multiple (up to 4) bytes.
这个编码方案可以用一个字节对ASCII字符进行编码,用多个字节(最多4 字节)对非 ASCII 字符进行编码。
If you use a nullable VARCHAR column and only ASCII characters (UTF-8 format 1 byte per character) involved, the maximum character length that can be indexed is 1021 characters.
如果使用可空的varchar列并只涉及ASCII字符(在utf - 8格式中每字符1字节),那么可以建立索引的最大字符长度是1021个字符。
Documents written using ASCII characters are the fastest to parse because each character is guaranteed to be a single byte and map directly to its equivalent Unicode value.
用ascii字符编写的文档解析起来是最快的,因为每个字符都肯定是单字节的,可以直接映射到对应的unicode值。
Figure 4 shows a search for "a", the actual character position of "a" is 2 but the output is 3 because there is a multi-byte character in the string.
图4展示了对“a”的搜索,“a”的实际字符位置是2,而输出的位置是3,原因在于字符串中有多字节字符。
User agents must also know the specific character encoding that was used to transform the document character stream into a byte stream.
用户代理必须还要知道将文档字符流转换成字节流所使用的字符编码。
Since the first character is multi-byte, it results in splitting the character and leads to dirty output.
由于第一个字符是多字节的,因此会导致字符分解和错误输出。
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.
但是对于多字节编码,字符的字节长度随使用编码模式的不同而不同,每个字符的长度可能是一个字节或多个字节。
Support for a form of multibyte character set (MBCS) called double-byte character set (DBCS) on all platforms.
在所有平台上,支持称为双字节字符集(DBCS)的多字节字符集(MBCS)形式。
Standard ASCII assigns a single-byte character in the English language to a numeric value, such as 0 to 127 in decimal format.
标准ASCII 为英语语言中的一个单字节字符分配一个数值,比如十进制格式的0到 127。
Therefore, it is important to understand what constitutes a character for writing applications that involve multi-byte character data.
因此,理解字符组成对编写应用程序处理多字节字符数据非常重要。
Therefore, it is important to understand what constitutes a character for writing applications that involve multi-byte character data.
因此,理解字符组成对编写应用程序处理多字节字符数据非常重要。
应用推荐