GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
CNMAPDIR(1) User Contributed Perl Documentation CNMAPDIR(1)

cnmapdir - Traditional <-> Simplified Chinese Converter

cnmapdir "-command" inputdir/file outputdir/file

    cnmapdir -h
        cnmapdir -hp

    cnmapdir -s2b5 gbkdir big5dir
    cnmapdir -s2gb gbkdir gbdir
    cnmapdir -s2c gbkdir utf8dir
    cnmapdir -s2cgb gbkdir utf8-cnsimp-dir
    cnmapdir -s2cb5 gbkdir utf8-cntrad-dir

    cnmapdir -t2gb big5dir gbdir
    cnmapdir -t2gbk big5dir gbkdir
    cnmapdir -t2c big5dir utf8dir
    cnmapdir -t2cgb big5dir utf8-cnsimp-dir
    cnmapdir -t2cb5 big5dir utf8-cntrad-dir

    cnmapdir -u2b5 utf8dir big5dir
    cnmapdir -u2gb utf8dir gbdir
    cnmapdir -u2gbk utf8dir gbkdir
    cnmapdir -u2cgb utf8dir utf8-cnsimp-dir
    cnmapdir -u2cb5 utf8dir utf8-cntrad-dir

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 "-h" switch: Show version and help infomation.

The "-p" switch: pause after execution.

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

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

The "-s2c" switch: Mixed GB2312/GBK -> Utf8.

The "-s2cb5" switch: Mixed GB2312/GBK -> Tradiional Big5 -> Utf8.

The "-s2cgb" switch: Mixed GB2312/GBK -> Simplified GB2312 -> Utf8.

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

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

The "-t2c" switch: Traditional Big5 -> Utf8.

The "-t2cgb" switch: Traditional Big5 -> Simplified GB2312 -> Utf8.

The "-t2cb5" switch: Traditional Big5 -> Utf8.

The "-u2b5" switch: Mixed Utf8 -> Traditional Big5.

The "-u2gb" switch: Mixed Utf8 -> Simplified GB2312.

The "-u2gbk" switch: Mixed Utf8 -> Mixed GBK.

The "-u2cb5" switch: Mixed Utf8 -> Simplified GB2312 -> Utf8.

The "-u2cgb" switch: Mixed Utf8 -> Traditional Big5 -> Utf8.

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

Encode::CNMap, cnmapwx, cnmap, Encode::HanConvert, Encode

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.

2004-03-15 perl v5.32.1

Search for    or go to Top of page |  Section 1 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.