home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!auspex-gw!guy
- From: guy@Auspex.COM (Guy Harris)
- Newsgroups: comp.arch
- Subject: Re: 32 => 64 Transition
- Message-ID: <14047@auspex-gw.auspex.com>
- Date: 14 Aug 92 01:36:24 GMT
- References: <id.UHAS.9TA@ferranti.com> <1992Aug13.182851.18305@mprgate.mpr.ca> <1992Aug13.230647.4171@ryn.mro4.dec.com>
- Sender: news@auspex-gw.auspex.com
- Organization: Auspex Systems, Santa Clara
- Lines: 12
- Nntp-Posting-Host: bootme.auspex.com
-
- >And it isn't all ancient history, either. Windows-NT uses Unicode as its native
- >character set, requiring 16 bit characters.
-
- Which is *not* the same as requiring 16-bit "char"s in C, odd though
- that may sound....
-
- ANSI C has a "wchar_t" type (a typedef), stuck in there as a character
- type intended precisely for such character sets as Unicode; I expect
- that UNIX, the Mac System, and Windows NT will all have "char" be an
- 8-bit byte on systems with 8-bit bytes, and have "wchar_t" be 16 or 32
- bits for codes such as Unicode. (It's 16 bits on the machine on which
- I'm typing this; it's running SunOS 4.1.1.)
-