Topic: \e (was: Why's of C++ -- Part 3 (string discussion)) RENAULT)
Author: corbett@lupa.eng.sun.com (Robert Corbett)
Date: 1999/10/06 Raw View
In article <37F869E1.9C13AA3@renault.fr>,
Antoine Leca <Antoine.Leca@renault.fr> wrote:
>
>"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'), and that SI and SO
>are deprecated by ISO 4873 (or something like that), in favor of
>LS0/LS1 etc.
If only it were so simple. ISO/IEC 2022 uses 0/14 and 0/15 to
represent SI and SO for 7-bit character sets, such as ISO/IEC 646.
It uses the same encodings for LS0 and LS1 in 8-bit character sets,
such as ISO/IEC 4873. ISO/IEC 10646-1 is "not in accordance" with
ISO/IEC 2022.
Sincerely,
Bob Corbett
---
[ 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: Antoine Leca <Antoine.Leca@renault.fr>
Date: 1999/10/04 Raw View
"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'), and that SI and SO
are deprecated by ISO 4873 (or something like that), in favor of
LS0/LS1 etc.
Antoine
[ 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 ]