2 Lexical conventions [lex]2.2 Character sets [lex.charset]
| 2 词法约定 【词法】2.2 字符集 【词法.字符集】
|
The basic source character set consists of 96 characters: the space character, the control characters representing horizontal tab, vertical tab, form feed, and new-line, plus the following 91 graphical characters:15)
| 基本源字符集由 96 个字符组成:空格字符,表示水平表格,垂直表格,换页,换行的控制字符,加上下列 91 个图形字符:15)
|
The universal-character-name construct provides a way to name other characters. hex-quad: universal-character-name: The character designated by the universal-character-name
| 统一字符名称提供了为其他字符命名的构造。 hex-四位组: 统一字符名称: 由统一字符名称 |
The basic execution character set and the basic execution wide-character set shall each contain all the members of the basic source character set, plus control characters representing alert, backspace, and carriage return, plus a null character (respectively, null wide character), whose representation has all zero bits. For each basic execution character set, the values of the members shall be non-negative and distinct from one another. The execution character set and the execution wide-character set are supersets of the basic execution character set and the basic execution wide-character set, respectively. The values of the members of the execution character sets are implementation-defined, and any additional members are locale-specific.
| 基本执行字符集和基本执行宽字符集都应该包含所有基本源字符集的成员,加上表示警报,退格,回车的控制字符,再加上表现为全零位的无效字符(无效宽字符)。每个基本执行字符集的任何成员的值都应该为非负数,并相互区别开。执行字符集和执行宽字符集是基本执行字符集和基本执行宽字符集的超集,各自的执行字符集的成员数值由实现定义,并且任何额外成员是现场指定的。
|
15) The glyphs for the members of the basic source character set are intended to identify characters from the subset of ISO/IEC 10646 which corresponds to the ASCII character set. However, because the mapping from source file characters to the source character set (described in translation phase 1) is specified as implementation-defined, an implementation is required to document how the basic source characters are represented in source files.
| 15) 基本源字符集的字型特意与 ISO/IEC 10646 中与 ASCII 字符集一致的子集相同。由于从源文件字符到源字符集的映射(在翻译阶段 1 中描述)是由实现定义的,实现应该提供基本源字符在源文件中表示方式的文档。
|
PREV [lex.phases] | NEXT [lex.trigraph] | 上一页 【词法.阶段】 | 下一页 【词法.三连符】 |
2.2 - [lex.charset] - 【词法.字符集】
最新推荐文章于 2024-07-25 08:41:33 发布
请不要转载本文;请不要以任何形式重新出版,发布本文;请在下载本文 24 小时内将其删除;禁止将本文用于商业目的。