The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

cnmap - Traditional <-> Simplified Chinese Converter

SYNOPSIS

cnmap -command [ inputfile ...] > outputfile

USAGE

    % cnmap -s2b5 gbk.txt > big5.txt
    % cnmap -s2gb gbk.txt > gb.txt
    % cnmap -t2gb big5.txt > gb.txt
    % cnmap -t2gbk big5.txt big5-2.txt > gbk.txt

DESCRIPTION

The cnmap utility reads files sequentially, converts them from Traditional to Simplified Chinese or Simplified to Traditional Chinese according to command switch, then writes them to the standard output. The inputfile arguments are processed in command-line order. if inputfile is a single dash (-) or absent, this program reads from the standard input.

The -s2b5 switch: Mixed GB2312/GBK -> Traditional Big5.

The -s2gb switch: Mixed GB2312/GBK -> Simplified GB2312.

The -t2gb switch: Traditional Big5 -> Simplified GB2312.

The -t2gbk switch: Traditional Big5 -> Mixed GBK.

BUGS, REQUESTS, COMMENTS

Please report any requests, suggestions or bugs via http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Encode-CNMap

AUTHORS

Qing-Jie Zhou <qjzhou@hotmail.com>

SEE ALSO

Encode::CNMap, cnmapdir, Encode::HanConvert, Encode