Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.c > #13042

Re: Encoding of character literals

From lawrence.jones@siemens.com
Newsgroups comp.lang.c
Subject Re: Encoding of character literals
Date 2011-11-10 12:23 -0500
Organization Siemens PLM Software
Message-ID <0tdto8-nn2.ln1@jones.homeip.net> (permalink)
References <j8uu94$jbd$1@oravannahka.helsinki.fi> <4EB302F4.3060504@verizon.net> <a5175f79-94e7-4aba-a53c-ca0034be7243@er6g2000vbb.googlegroups.com> <j9glgq$drq$1@oravannahka.helsinki.fi>

Show all headers | View raw


Lauri Alanko <la@iki.fi> wrote:
> In article <a5175f79-94e7-4aba-a53c-ca0034be7243@er6g2000vbb.googlegroups.com>,
> Harald van D??k  <truedfx@gmail.com> wrote:
> > 
> > It's supposed to be in 6.10.8p2, see DR #333, or a draft of C1x in
> > which this has been corrected.
> 
> Thanks, that is useful. So C99 mandates that for the basic character
> set, chars and the corresponding wchar_t's have the same integer
> value, and C1x makes this guarantee conditional on the presence of the
> macro.

No, there was a production error in N1256 which put the macro in the
wrong paragraph; it was always supposed to have been conditional.
-- 
Larry Jones

I hate being good. -- Calvin

Back to comp.lang.c | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

Encoding of character literals Lauri Alanko <la@iki.fi> - 2011-11-03 20:41 +0000
  Re: Encoding of character literals James Kuyper <jameskuyper@verizon.net> - 2011-11-03 17:09 -0400
    Re: Encoding of character literals Harald van Dijk <truedfx@gmail.com> - 2011-11-03 14:51 -0700
      Re: Encoding of character literals Lauri Alanko <la@iki.fi> - 2011-11-10 14:02 +0000
        Re: Encoding of character literals lawrence.jones@siemens.com - 2011-11-10 12:23 -0500

csiph-web