Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!cs.utexas.edu!sun-barr!ccut!wnoc-tyo-news!sranha!srava!erik From: erik@sra.co.jp (Erik M. van der Poel) Newsgroups: comp.std.c Subject: wchar_t values Message-ID: <990@sranha.sra.co.jp> Date: 29 Mar 91 01:00:09 GMT Sender: news@sranha.sra.co.jp Organization: Software Research Associates, Inc., Japan Lines: 22 Nntp-Posting-Host: srava Originator: erik@srava ANSI C says the following about wchar_t: ... an integral type whose range of values can represent distinct codes for all members of the largest extended character set specified among the supported locales; the null character shall have the code value zero and each member of the basic character set defined in 2.2.1 shall have a code value equal to its value when used as the lone character in an integer character constant. Now, if this question has been asked before, I apologize. But here goes: Which of the following two conditions is the correct interpretation of the ANSI C standard: ('c' == L'c') ('c' == ((char) L'c')) - -- Erik M. van der Poel erik@sra.co.jp Software Research Associates, Inc., Tokyo, Japan TEL +81-3-3234-2692