home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / arch / 8899 < prev    next >
Encoding:
Internet Message Format  |  1992-08-13  |  1.0 KB

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