home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / unix / shell / 3567 < prev    next >
Encoding:
Text File  |  1992-08-22  |  2.3 KB  |  49 lines

  1. Path: sparky!uunet!cis.ohio-state.edu!ucbvax!mtxinu!sybase!hsc
  2. From: hsc@sybase.com (Howard Cohen)
  3. Newsgroups: comp.unix.shell
  4. Subject: Portability of ASCII across Unixes (was Re: How do I get .login to pause ?)
  5. Summary: How portable is ASCII across modern Unixes?
  6. Message-ID: <22651@sybase.sybase.com>
  7. Date: 21 Aug 92 00:28:14 GMT
  8. References: <1992Aug5.204941.29470@athena.cs.uga.edu> <1992Aug6.182435.6147@almserv.uucp> <1992Aug6.195643.4702@prl.dec.com> <Bss2xD.GKE@root.co.uk> <22412@sybase.sybase.com> <Bt4qL6.JpA@root.co.uk>
  9. Sender: news@Sybase.COM
  10. Organization: Sybase, Inc.
  11. Lines: 36
  12.  
  13. In article <Bt4qL6.JpA@root.co.uk> gwc@root.co.uk (Geoff Clare) writes:
  14. >In <22412@sybase.sybase.com> hsc@sybase.com (Howard Cohen) writes:
  15. >|In article <Bss2xD.GKE@root.co.uk> gwc@root.co.uk (Geoff Clare) writes:
  16. >|>If it comes to that, '\012' is not portable either.  Use:
  17. >
  18. >|What?!?  What Unix machines won't this work on?
  19. >
  20. >Any machine that doesn't have ASCII as its native character set.
  21.      ^^^^^^^
  22.  
  23. Any *Unix* machine, yes.  So name one that doesn't support ASCII. We're not 
  24. talking in the hypothetical here. I can't think of one, and Sybase supports 
  25. almost 30 different vendor's platforms.  We even have a Sun JLE port 
  26. (japanese language environment -- supports multi-byte characters), and it 
  27. works fine there too.  
  28.  
  29. I asked one of our front-end-tools managers if there were any Unix machines
  30. that didn't understand ASCII. He said that he didn't think there were any.
  31. JLE in particular is backwardly compatible with ASCII.  If the high bit is
  32. on for a byte, its assumed to be a two-byte character.  Otherwise, it's
  33. assumed to be ASCII.
  34.  
  35. Portability is an important issue to me, and if ASCII really isn't portable
  36. across modern unixes, then I want to know.
  37.  
  38. We may be heading toward a time when ASCII becomes obsolete in favor of
  39. a larger, international character set.  I've heard of something along those
  40. lines.  If and when that becomes a standard that Unix machines embrace, then 
  41. there may be a portability problem.  If thats what you were referring to,
  42. then I'd agree with you.
  43.  
  44.     Howard
  45. -------------------------------------------------------------------------------
  46.   Howard "I wood if I could" Cohen
  47.   hsc@sybase.com  {pacbell,pyramid,sun,{uunet,ucbvax}!mtxinu}!sybase!hsc
  48.   Sybase, Inc.    6475 Christie Avenue, Emeryville, CA 94608, 510-596-3406 
  49.