--On Thursday, November 06, 2003 07:43:07 +1100 Jason Godden <[EMAIL PROTECTED]> wrote:
On Thu, 6 Nov 2003 06:25 am, Markus Bertheau wrote:EBCDIC as far as I know is still the default on IBM Mainframes (been 5+ years but...).? ???, 05.11.2003, ? 16:25, Tom Lane ?????: > > +#define HEXVALUE(c) (((c)>='a') ? ((c)-87) : (((c)>='A') ? ((c)-55) > > : ((c)-'0'))) > > This seems excessively dependent on the assumption that the character > set is ASCII. Why have you hard-coded numeric equivalents into this > macro?
What not ASCII compatible character sets are out there in use still today?
-- Larry Rosenman http://www.lerctr.org/~ler Phone: +1 972-414-9812 E-Mail: [EMAIL PROTECTED] US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749
pgp00000.pgp
Description: PGP signature