NAME
cnmapdir - Traditional <-> Simplified Chinese Converter
SYNOPSIS
cnmapdir -command
inputdir/file outputdir/file
USAGE
% cnmapdir -s2b5 gbkdir big5dir
% cnmapdir -s2gb gbkdir gbdir
% cnmapdir -t2gb big5dir gbdir
% cnmapdir -t2gbk big5dir gbkdir
DESCRIPTION
The cnmapdir utility reads all files recursively under inputdir, converts from Traditional to Simplified Chinese or Simplified to Traditional Chinese according to command switch, then writes them to the outputdir.
If outputdir is missing, then /out is assumped. If outputdir is not existed, it will be created automatically. If inputdir is a file, it will be converted to outputfile.
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.
SEE ALSO
Encode::CNMap, cnmap, Encode::HanConvert, Encode
AUTHORS
Qing-Jie Zhou <qjzhou@hotmail.com>