On Monday, 24 September 2018 at 13:26:14 UTC, Steven
Schveighoffer wrote:
2. There are no rules about what *encoding* is acceptable, it's
implementation defined. So various compilers have different
rules as to what will be accepted in the actual source code. In
fact, I read somewhere that not even ASCII is guaranteed to be
supported.
Indeed. IBM mainframes have C compilers too but not ASCII. They
code in EBCDIC. That's why for instance it's not portable to do
things like
if(c >= 'A' && c <= 'Z') printf("CAPITAL LETTER\n");
is not true in EBCDIC.