home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / os / coherent / 4350 < prev    next >
Encoding:
Internet Message Format  |  1992-09-08  |  933 b 

  1. Path: sparky!uunet!sun-barr!ames!ig!delphi.com!GREGL
  2. From: GREGL@DELPHI.COM (Greg Law)
  3. Newsgroups: comp.os.coherent
  4. Subject: Re: Can coherent handle 8-bit characters?
  5. Message-ID: <01GOK6IPOM768Y552U@delphi.com>
  6. Date: 9 Sep 92 03:58:20 GMT
  7. Sender: daemon@presto.ig.com
  8. Reply-To: "Coherent operating system" <COHERENT@indycms.bitnet>
  9. Lines: 16
  10.  
  11. Patrick Stickler writes:
  12. > Does anyone know if Coherent supports the extended ASCII character
  13. > set (i.e. 127-255, European characters, etc)??
  14.  
  15. Coherent supports the same character set as MS-DOS so you can use the
  16. full complement of the IBM extended character set. If you need an ASCII
  17. table, use this quick 'n routine:
  18.  
  19.     for(i = 32; i < 256; i++)
  20.         printf("%03d = %c   ", i, (char) i);
  21.  
  22. Adjust the number of spaces after %c to get everything to line up in nice
  23. neat columns, and change %03d to %03x for hex, or (I think) %03o for octal
  24. (been a while since I fiddled with octal).
  25.  
  26.     -- Greg
  27.