Article View: comp.std.c
Article #2750Re: wchar_t values
From: Doug Gwyn
Date: Mon, 15 Apr 1991 21:58
Date: Mon, 15 Apr 1991 21:58
11 lines
1092 bytes
1092 bytes
In article <1107@sranha.sra.co.jp> erik@srava.sra.co.jp (Erik M. van der Poel) writes: >I.e. 10646 'c' does not have the same numeric value as ASCII 'c'. But it doesn't need to, so long as the compiler translates both L'c' and 'c' from the multibyte (10646) characters into the same numeric code values for the resulting char-piece-of-an-int and wchar_t, and the stdio functions when dealing with text streams provide a similar mapping (to make the external forms of text streams maximally useful). There is certainly no requirement in the C standard that 'c' be represented using the ASCII code set.
Technical Details
Message-ID:
<15829@smoke.brl.mil>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!wuarchive!zaphod.mps.ohio-state.edu!rpi!uupsi!cmcl2!adm!smoke!gwynReferences:
<keld.670719584@dkuugin> <HARKCOM.91Apr5091146@spinach.pa.yokogawa.co.jp> <1107@sranha.sra.co.jp>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!wuarchive!zaphod.mps.ohio-state.edu!rpi!uupsi!cmcl2!adm!smoke!gwyn From: gwyn@smoke.brl.mil (Doug Gwyn) Newsgroups: comp.std.c Subject: Re: wchar_t values Message-ID: <15829@smoke.brl.mil> Date: 15 Apr 91 21:58:22 GMT References: <keld.670719584@dkuugin> <HARKCOM.91Apr5091146@spinach.pa.yokogawa.co.jp> <1107@sranha.sra.co.jp> Organization: U.S. Army Ballistic Research Laboratory, APG, MD. Lines: 11