Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!lll-crg!hoptoad!gnu From: gnu@hoptoad.uucp (John Gilmore) Newsgroups: comp.lang.c,comp.std.internat Subject: draft ANSI standard: one change that would *really* help Europe Message-ID: <1382@hoptoad.uucp> Date: Tue, 2-Dec-86 01:49:22 EST Article-I.D.: hoptoad.1382 Posted: Tue Dec 2 01:49:22 1986 Date-Received: Tue, 2-Dec-86 06:29:32 EST Organization: Nebula Consultants in San Francisco Lines: 25 Xref: mnetor comp.lang.c:201 comp.std.internat:5 [This is posted to comp.lang.c because mod.std.c seems to be dead. Love those mod groups!] While considering my point of view on trigraphs, Laura Creighton pointed out that the problem is that Europeans really need more than a 7-bit character set. In that vein, one possible change to the ANSI standard would require "char" to be unsigned. This would double the number of characters that a strictly conforming program could easily handle, and European Unix systems could use an 8-bit character set in which the first 128 characters were USASCII. I believe that the various Unix internationalization efforts are already doing working in this direction. No strictly conforming programs would be broken by this change, since a strictly conforming program cannot assume whether char is signed or unsigned; in fact, it will make MORE programs strictly conform, since programs that assume char is unsigned will now conform. In an 8-bit character set, all the ANSI punctuation as well as all the national characters could be supported without kludges. -- John Gilmore {sun,ptsfa,lll-crg,ihnp4}!hoptoad!gnu jgilmore@lll-crg.arpa Call +1 800 854 7179 or +1 714 540 9870 and order X3.159-198x (ANSI C) for $65. Then spend two weeks reading it and weeping. THEN send in formal comments!