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://sourceforge.net/projects/bookbot http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Encode-CNMap
SEE ALSO
Encode::CNMap, cnmapdir, Encode::HanConvert, Encode
COPYRIGHT AND LICENSE
Copyright 2003-2004 Qing-Jie Zhou <qjzhou@hotmail.com>
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.