Re: What's in a wchar_t string on unix?

From: Frank Yung-Fong Tang (
Date: Wed Mar 03 2004 - 12:38:49 EST

  • Next message: Clark Cox: "Re: What's in a wchar_t string on unix?"

    oh. This is the first time I hear about this. Thanks about your
    information. Does it also mean wchar_t is 4 bytes if __STDC_ISO_10646__
    is defined? or does it only mean wchar_t hold the character in ISO_10646
    (which mean it could be 2 bytes, 4 bytes or more than that?)

    Noah Levitt wrote on 3/2/2004, 1:33 PM:

    > As specified in C99 (and maybe earlier), if the macro
    > __STDC_ISO_10646__ is defined, then wchar_t values are ucs4.
    > Otherwise, wchar_t is an opaque type and you can't be sure
    > what it is.
    > Noah

    This archive was generated by hypermail 2.1.5 : Wed Mar 03 2004 - 13:18:16 EST