Path: utzoo!attcan!uunet!ficc!peter From: peter@ficc.ferranti.com (Peter da Silva) Newsgroups: comp.lang.c Subject: Re: How can I de-escape my strings at run time? Message-ID: <+2X3GW9@xds13.ferranti.com> Date: 4 Jun 90 14:10:51 GMT References: <6550.26639B0A@puddle.fidonet.org> <2596@litchi.bbn.com> <896@wraith.cs.uow.edu.au> <:9W3JZ3@ggpc2.ferranti.com> Reply-To: peter@ficc.ferranti.com (Peter da Silva) Organization: Xenix Support, FICC Lines: 13 In article meissner@osf.org (Michael Meissner) writes: > It came up a few times. The problem is that ANSI C is not mandated to > require ASCII (or even ISO646). EBCDIC is the classic counterpoint. Are the rest of the escapes, in fact, portable? For example, does ebcdic have a separate \r and \n? I know some ASCII-based systems use the two interchangeably (OS/9, for example). Not to mention that C pretty much assumes you'll have non-portable characters like # and {} available... With another ANSI standard (X3.64, I think) specifying the interpretation of escape sequences, it's not even that unportable... -- `-_-' Peter da Silva. +1 713 274 5180. 'U` Have you hugged your wolf today? @FIN Dirty words: Zhghnyyl erphefvir vayvar shapgvbaf.