Re: switching ISO 2022 <-> Unicode

From: Kenneth Whistler (kenw@sybase.com)
Date: Thu Jan 16 1997 - 19:30:58 EST


And a postscript:

"the escape sequence ESC 02/05 04/00...padded in accordance with clause 16"

translated from ISO-talk to Unicode is:

U+001B U+0025 U+0040

Only an ISO 2022 implementation is likely to be scanning for such
sequences in UCS-2 text, in which case it will interpret the sequence as
a shift out to a previous saved state (whatever character set was set
before entering 10646 in UCS-2 form).

A Unicode implementation will simply see that sequence as ESCAPE followed
by "%@".

--Ken



This archive was generated by hypermail 2.1.2 : Tue Jul 10 2001 - 17:20:33 EDT