This package contains ISO-2022-CN encoder and decoder.

The target codes currently supported are CN-GB, CN-CNS, and Big5.

The format of CN-GB is as follows:
   0xxxxxxx			 -- ASCII
   1xxxxxxx 1xxxxxxx		 -- GB2312
   0x8E 1xxxxxxxx 1xxxxxxxx	 -- GB7589
   0x8F 1xxxxxxxx 1xxxxxxxx	 -- GB7590

The format of CN-CNS is as follows:
   ----------------------------------------
   0xxxxxxx			 -- ASCII
   1xxxxxxx 1xxxxxxx		 -- CNS11643-1
   0x8E 1xxxxxxxx 1xxxxxxxx	 -- CNS11643-2
   0x8F 1xxxxxxxx 1xxxxxxxx	 -- CNS11643-3

I'm not sure if the character sets GB7589, GB7590, CNS11643-2,
CNS11643-2 are really encoded as above.

We also support Big5 by converting it to GB2312, or CNS11643.

The mapping information between Big5 and GB2312 is taken from a file
named `b2g_tables.S.c' which is distributed with BeTTY-1.534.

The mapping information between Big5 and CNS11643 is generated by an
awk program `b5cns.awk' from the text file `RFC1922.txt'.

The format of BIG5-text is as follows:
   ----------------------------------------
   (1st byte)      0xA1 .. 0xFE
   (2nd byte)      0x40 .. 0x7E and 0xA1 .. 0xFE

This is a beta version.  Please mail me <handa@etl.go.jp> if you find
any bugs.


CONTENTS:
	Makefile
	README -- this file
	RFC1922.txt -- plain text version of RFC1922 (Chinese
		Character Encoding for Internet Messagse)
	b2g_tables.S.c -- mapping information between Big5 and GB2312
	b5cns.awk -- awk program to generate b5cns.h from RFC1922.txt
	b5cns.h -- mapping information between Big5 and CNS11643
	iso2022.h, b5map.c, de2022cn.c, en2022cn.c -- program sources
	sample.gb, sample.big, 5sample.cns -- sample files
	BeTTY.doc/CopyRights -- copyright notice for b2g_tables.S.c
	BeTTY.doc/soft.index -- information about BeTTY
1