Sun Studio 12:C 用户指南

E.1.4.1 (5.2.1) The members of the source and execution character sets, except as explicitly specified in the Standard(除非标准中明确指定,否则为源代码字符集和执行字符集的成员):

这两个字符集都与 ASCII 字符集相同,并有特定于语言环境的扩展。

(5.2.1.2) The shift states used for the encoding of multibyte characters(用于多字节字符编码的移位状态):

无移位状态。

(5.2.4.2.1) The number of bits in a character in the execution character set(执行字符集中字符的位数):

对于 ASCII 部分,一个字符中有 8 位;对于特定于语言环境的扩展部分,一个字符中的位数是 8 的倍数,具体取决于语言环境。

(6.1.3.4) The mapping of members of the source character set (in character and string literals) to members of the execution character set(源代码字符集成员(用字符和字符串文字表示)至执行字符集成员的映射):

源代码字符与执行字符之间映射相同。

(6.1.3.4) The value of an integer character constant that contains a character or escape sequence not represented in the basic execution character set or the extended character set for a wide character constant(包含一个字符的整型字符常量的值或不以基本执行字符集或宽字符常量的扩展字符集表示的换码序列的值):

它是最右边字符的数值。例如,'\q' 等于 'q'。如果这样的换码序列出现,则会发出警告。

(3.1.3.4) The value of an integer character constant that contains more than one character or a wide character constant that contains more than one multibyte character(包含多个字符的整型字符常量的值或包含多个多字节字符的宽字节常量的值):

一个多字符常量,它不是具有从每个字符的数值派生的值的换码序列。

(6.1.3.4) The current locale used to convert multibyte characters into corresponding wide characters (codes) for a wide character constant(用于针对宽字符常量将多字节字符转换为相应宽字符的当前语言环境):

LC_ALLLC_CTYPELANG 环境变量指定的有效语言环境。

(6.2.1.1) Whether a plain char has the same range of values as signed char or unsigned char(无格式 char 的值范围是与 signed char 相同还是与 unsigned char 相同):

char 被视为 signed char (SPARC) (x86)