freetype-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: IBM AS/400 Migration


From: Angus Duggan
Subject: Re: IBM AS/400 Migration
Date: Thu, 30 Mar 2000 05:46:00 -0800 (PST)

Antoine Leca writes:
>You mean, that ISO C would require ASCII? no, that wrong: you can perfectly
>have a conforming compiler on a non-ASCII machine. The only requirement
>is to have (internally) the same character set as ASCII, including []{}|\^~
>($ @ and ` can be dropped); but the values can be different from ASCII.

There are a couple of further requirements. ANSI also requires that the null
character '\0' be represented by all zero bits (and be different from the
other characters), and more importantly, that the digits '0' to '9' have
consecutive numeric values. No guarantee is given about the ordering of
letters, so the common trick for converting hex digits into numbers
(ch - 'a' + 10) is not defined. See section 5.2.1 in the ANSI standard if
you're interested in the details.

a.






reply via email to

[Prev in Thread] Current Thread [Next in Thread]