🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c
Article #1152

Handling ISO 10646 UCS in C

#1152
From: Markus Kuhn
Date: Sat, 15 Aug 1992 15:34
28 lines
1535 bytes
Are there any proposals about future extensions to Standard C that will
allow the programmer to use ISO 10646/Unicode strings as easily as
char []?

Will wchar_t be fixed to UCS-2 or will the standard commitees introduce two 
new char types e.g.

   ucs2_t     for the 16-bit ISO 10646 BMP (also known as Unicode)
   ucs4_t     for the full 32-bit ISO 10646 code

together with new string constant notations for both of them and a lot
of new library functions for arrays of these new types? (I'd prefer 
introducing two new types a lot!)

Will C programs be allowed to be UCS-2 files in addition to ASCII files
which would make entering Unicode characters in string constants and
comments as easy as ASCII characters today?

What will be the new equivalent of \0? \x0000 or \ffff or another special
character?

Markus

-- 
Markus Kuhn, Computer Science student -=-=- University of Erlangen, Germany
Internet: mskuhn@immd4.informatik.uni-erlangen.de  |  X.500 entry available
-A distributed system is one in which the failure of a computer you didn't-
-even know existed can render your own computer unusable. (Leslie Lamport)-
Technical Details
Message-ID: <Bt1792.48L@immd4.informatik.uni-erlangen.de>
Path: arc1-ca.pugleaf.net!sparky!uunet!wupost!darwin.sura.net!Sirius.dfn.de!fauern!fauna!mskuhn

Show Full Headers
Complete Article Headers
Newsgroups: comp.std.c,comp.std.internat
Path: arc1-ca.pugleaf.net!sparky!uunet!wupost!darwin.sura.net!Sirius.dfn.de!fauern!fauna!mskuhn
From: mskuhn@immd4.informatik.uni-erlangen.de (Markus Kuhn)
Subject: Handling ISO 10646 UCS in C
Message-ID: <Bt1792.48L@immd4.informatik.uni-erlangen.de>
Organization: CSD., University of Erlangen, Germany
Date: Sat, 15 Aug 1992 15:34:13 GMT
Lines: 28