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


Manual Reference Pages  -  G2B.PL (1)

.ds Aq ’

NAME

g2b.pl - Simplified to Traditional Chinese converter

CONTENTS

SYNOPSIS

<B>g2b.plB> [ <B>-pB> ] [ <B>-uB> ] [ inputfile ...] > outputfile

USAGE



    % g2b.pl -p < gbk.txt > big5.txt
    % g2b.pl -pu < simp.txt > trad.txt



DESCRIPTION

The <B>g2b.plB> utility reads files sequentially, converts them from Simplified to Traditional Chinese, 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 -p switch enables rudimentary phrase-oriented substition via a small built-in lexicon.

The -u switch specifies that both the input and output streams should be UTF-8 encoded. If not specified, the input stream is assumed to be in GBK, and the output will be encoded in Big5.

CAVEATS

In pure-perl implementations (pre-5.8 perl or without a C compiler), -p and -u cannot be used together.

SEE ALSO

b2g.pl, Encode::HanConvert

AUTHORS

Currently maintained by Kuang-che Wu <kcwu@csie.org>. Orignal author: Audrey Tang <cpan@audreyt.org>

COPYRIGHT

Copyright 2002-2009 by Audrey Tang <cpan@audreyt.org>. Copyright 2006 by Kuang-che Wu <kcwu@csie.org>.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

See <http://www.perl.com/perl/misc/Artistic.html>

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


perl v5.20.3 G2B (1) 2009-01-26

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