home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / lang / c / 18609 < prev    next >
Encoding:
Text File  |  1992-12-21  |  1.4 KB  |  36 lines

  1. Newsgroups: comp.lang.c
  2. Path: sparky!uunet!mcsun!news.funet.fi!funic!nntp.hut.fi!nntp!sja
  3. From: sja@snakemail.hut.fi (Sakari Jalovaara)
  4. Subject: Re: Questions about token merging and trigraphs
  5. In-Reply-To: kdq@quest.UUCP's message of Wed, 16 Dec 92 19:36:29 PST
  6. Message-ID: <SJA.92Dec18150357@lk-hp-14.hut.fi>
  7. Sender: usenet@nntp.hut.fi (Usenet pseudouser id)
  8. Nntp-Posting-Host: lk-hp-14.hut.fi
  9. Organization: Helsinki University of Technology, Finland
  10. References: <1TA04E3@cdis-1.compu.com> <iJqwVB1w165w@quest.UUCP>
  11. Date: 18 Dec 92 13:03:57 GMT
  12. Lines: 22
  13.  
  14.  
  15. >     Trigraphs are the *only* way to represent certain critical
  16. > characters on machines that do not support the ASCII character set.
  17.  
  18. There are multibyte characters.  Simple solution: the standard could
  19. have mentioned in a footnote: "EBCDIC machines are recommended to
  20. represent # with $= (etc)" (or whatever - with a suitable ASCII to
  21. EBCDIC converter even ??= could be used.  This all assuming that said
  22. machines don't already have single characters that are traditionally
  23. used to represent the missing ones.)
  24.  
  25. National characters don't need, and never did need, trigraphs.
  26.  
  27. > after all, *code* isn't going to break.
  28.  
  29. Except for a certain dusty deck program that tried to write
  30. trigraph-containing escape sequences to a display device.  Didn't
  31. work too well :-(
  32.  
  33. Trigraphs are unnecessary in a language definition.  Just an ugly
  34. kludge to fix something that was never broken in the first place.
  35.                                     ++sja
  36.