home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!cis.ohio-state.edu!ucbvax!mtxinu!sybase!hsc
- From: hsc@sybase.com (Howard Cohen)
- Newsgroups: comp.unix.shell
- Subject: Portability of ASCII across Unixes (was Re: How do I get .login to pause ?)
- Summary: How portable is ASCII across modern Unixes?
- Message-ID: <22651@sybase.sybase.com>
- Date: 21 Aug 92 00:28:14 GMT
- 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>
- Sender: news@Sybase.COM
- Organization: Sybase, Inc.
- Lines: 36
-
- In article <Bt4qL6.JpA@root.co.uk> gwc@root.co.uk (Geoff Clare) writes:
- >In <22412@sybase.sybase.com> hsc@sybase.com (Howard Cohen) writes:
- >|In article <Bss2xD.GKE@root.co.uk> gwc@root.co.uk (Geoff Clare) writes:
- >|>If it comes to that, '\012' is not portable either. Use:
- >
- >|What?!? What Unix machines won't this work on?
- >
- >Any machine that doesn't have ASCII as its native character set.
- ^^^^^^^
-
- Any *Unix* machine, yes. So name one that doesn't support ASCII. We're not
- talking in the hypothetical here. I can't think of one, and Sybase supports
- almost 30 different vendor's platforms. We even have a Sun JLE port
- (japanese language environment -- supports multi-byte characters), and it
- works fine there too.
-
- I asked one of our front-end-tools managers if there were any Unix machines
- that didn't understand ASCII. He said that he didn't think there were any.
- JLE in particular is backwardly compatible with ASCII. If the high bit is
- on for a byte, its assumed to be a two-byte character. Otherwise, it's
- assumed to be ASCII.
-
- Portability is an important issue to me, and if ASCII really isn't portable
- across modern unixes, then I want to know.
-
- We may be heading toward a time when ASCII becomes obsolete in favor of
- a larger, international character set. I've heard of something along those
- lines. If and when that becomes a standard that Unix machines embrace, then
- there may be a portability problem. If thats what you were referring to,
- then I'd agree with you.
-
- Howard
- -------------------------------------------------------------------------------
- Howard "I wood if I could" Cohen
- hsc@sybase.com {pacbell,pyramid,sun,{uunet,ucbvax}!mtxinu}!sybase!hsc
- Sybase, Inc. 6475 Christie Avenue, Emeryville, CA 94608, 510-596-3406
-