Expat for Chinese Encodings

1998-08-17
mailto:say@163.net

What's New ?

2001-7-3

support expat version 1.95.1.

What ?

This is an unofficial version of expat (an XML 1.0 parser written in C) to handle Chinese encodings, GB2312.

To convert Unicode-GB2312, I used and modified gb2utf.c (originary written by Guo Jin guojin@iss.nus.sg)

How to get and use

download sources and make like as original.
(I tested only in WindowsME)

sources:

About sources

I modified xmltok.c,xmltok_ns.c and added gb_tab.h, gb2utf.c.

expat/xmltok/xmltok.c

added struct 'gb2312_encoding' .

expat/xmltok/gb_tab.h

character table of GB2312.

expat/xmltok/gb2utf.c

unicode<-gb2312 converter.

and I am thankful to ...


Hunter (say@163.net)