字符集中的字符顺序 [英] Order of the characters in character set
问题描述
它是保证的标准的字符的顺序吗?我可以计数'1'符号后跟在字符集表中的'2'符号,例如?
Is it guarantees by the standard the order of the characters? Can i count that '1' symbol are followed in the character set table by the '2' symbol, for example? Or is it platform-specific?
推荐答案
1999年的C标准说明了字符集:
The C standard from 1999 says this about the character sets:
基本源字符集和基本执行字符集应具有以下成员:
拉丁字母的26个大写字母
...
拉丁字母的26个小写字母
...
十位十进制数字
0 1 2 3 4 5 6 7 8 9
以下29个图形字符
...
在源和执行基本字符集中,值
Both the basic source and basic execution character sets shall have the following members:
the 26 uppercase letters of the Latin alphabet
...
the 26 lowercase letters of the Latin alphabet
...
the 10 decimal digits
0 1 2 3 4 5 6 7 8 9
the following 29 graphic characters
...
In both the source and execution basic character sets, the value of each character after 0 in the above list of decimal digits shall be one greater than the value of the previous.
这篇关于字符集中的字符顺序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!