a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
27 lines
718 B
Plaintext
27 lines
718 B
Plaintext
* GB18030 support
|
|
|
|
GB18030Encoding requires an assembly resource named "gb18030.table".
|
|
This resource can be generated from "GB18030Source.exe" with an
|
|
external resource "gb18030-2000.xml":
|
|
|
|
http://dev.icu-project.org/cgi-bin/viewcvs.cgi/*checkout*/charset/data/xml/gb-18030-2000.xml
|
|
- or -
|
|
http://monkey.workarea.jp/mono/unicode/gb-18030-2000.xml
|
|
|
|
To create GB18030Source.exe, compile GB18030Source.cs as a standalone
|
|
module:
|
|
|
|
mcs GB18030.cs /unsafe /d:BUILD_GENERATOR
|
|
|
|
and then run:
|
|
|
|
mono GB18030.exe
|
|
|
|
It expects that gb18030-2000.xml is in the same directory, and
|
|
generates a binary file "gb18030.table".
|
|
|
|
This table file is included as a resource in this assembly.
|
|
|
|
Atsushi Eno <atsushi@ximian.com>
|
|
|