Topic: \e (was: Why's of C++ -- Part 3 (string discussion))RENAULT)


Author: John Hauser <jhauser@cs.berkeley.edu>
Date: 1999/10/05
Raw View

Antoine Leca wrote:
> SI and SO
> are deprecated by ISO 4873 (or something like that), in favor of
> LS0/LS1 etc.

Well, O.K., but aren't those just new names for the same old thing?
The codes are the same and the semantics aren't substantially
different.  Practially speaking, LS0 (Locking Shift 0) = SI (Shift In)
and LS1 (Locking Shift 1) = SO (Shift Out).

     - John Hauser


[ comp.std.c++ is moderated.  To submit articles, try just posting with ]
[ your news-reader.  If that fails, use mailto:std-c++@ncar.ucar.edu    ]
[              --- Please see the FAQ before posting. ---               ]
[ FAQ: http://reality.sgi.com/austern_mti/std-c++/faq.html              ]






Author: "David J. Littleboy" <davidjl@gol.com>
Date: 1999/10/05
Raw View

Antoine Leca wrote in message <37F869E1.9C13AA3@renault.fr>...
>
>"David J. Littleboy" <davidjl@gol.com> writes:
>> Paul Jarc wrote in message ...
>> > To justify adding escapes for characters that aren't meant for
>> > sending to display devices, you'd have to either show that the
>> > control characters are widely used across multiple character sets,
>>
>> ESC, SI, and SO appear in ASCII, EBCDIC, and Unicode. Done.
>
>Can you check that, please?
>
>My current reading is that none are defined by Unicode (all "control
>chracters" are part of 'a lower level protocol'),



Author: Dik.Winter@cwi.nl (Dik T. Winter)
Date: 1999/10/06
Raw View
In article <37F98E6A.6F590E07@cs.berkeley.edu> John Hauser <jhauser@cs.berkeley.edu> writes:
 > Antoine Leca wrote:
 > > SI and SO
 > > are deprecated by ISO 4873 (or something like that), in favor of
 > > LS0/LS1 etc.
 >
 > Well, O.K., but aren't those just new names for the same old thing?
 > The codes are the same and the semantics aren't substantially
 > different.  Practially speaking, LS0 (Locking Shift 0) = SI (Shift In)
 > and LS1 (Locking Shift 1) = SO (Shift Out).

I do not know which ISO standard, but there is one where it is mentioned
that SI/SO are preferred in 7-bit environments and LS0/LS1 in 8-bit
environment, but that actually both names can be used.  I think it is
in the latest version of ISO 2022 (see
<a "href://www.ecma.ch/stand/ECMA-035.HTM">).
--
dik t. winter, cwi, kruislaan 413, 1098 sj  amsterdam, nederland, +31205924131
home: bovenover 215, 1025 jn  amsterdam, nederland; http://www.cwi.nl/~dik/


[ comp.std.c++ is moderated.  To submit articles, try just posting with ]
[ your news-reader.  If that fails, use mailto:std-c++@ncar.ucar.edu    ]
[              --- Please see the FAQ before posting. ---               ]
[ FAQ: http://reality.sgi.com/austern_mti/std-c++/faq.html              ]