This package contains ISO-2022-CN encoder and decoder. The target codes currently supported are CN-GB CN-BIG5 and CN-CNS. 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. This is a beta version. Please mail me if you find any bugs.