Updating D beyond Unicode 2.0
Patrick Schluter
Patrick.Schluter at bbox.fr
Mon Sep 24 19:18:35 UTC 2018
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.
More information about the Digitalmars-d
mailing list