The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

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.

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, cnmap, 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.