Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!usc!samsung!uakari.primate.wisc.edu!hemuli.tik.vtt.fi!Markku.Savela From: Markku.Savela@tel.vtt.fi (Markku Savela) Newsgroups: comp.protocols.iso Subject: CCITT T.51 (ISO2022?) and multiple-byte codes designated to GR/GL? Message-ID: <5356@hemuli.tik.vtt.fi> Date: 28 Jan 91 13:12:59 GMT Sender: news@hemuli.tik.vtt.fi Reply-To: savela@tel.vtt.fi (Markku Savela) Distribution: comp Organization: Technical Research Centre of Finland Lines: 21 Have I understood the standard right? Assuming the following in 8-bit environment: 1) I have designated single byte code set (like normal "ASCII") into G0 and invoked it into GL with LS0. 2) I have designated multi-byte code set (like JISC 6226 (kanji)) into G1 and invoked it into GR with LS1R. With this setup ASCII and Kanji can be mixed without any additional escape sequences? Every single code that does not have the 8th bit set will be normal ascii, and each consecutive pair of bytes that have 8th bit set will be single kanji character. What is the correct procedure to handle error cases, like when there is only one byte with 8th bit set? Do I blindly take the next byte regardless of the 8th bit setting or ignore this single byte? -- Markku Savela (savela@tel.vtt.fi), Technical Research Centre of Finland Telecommunications Laboratory, Otakaari 7 B, SF-02150 ESPOO, Finland