NAME
g2b.pl - Convert from GBK (CP936) to Big5
SYNOPSIS
g2b.pl [ -p ] [ -u ] [ inputfile ...] > outputfile
DESCRIPTION
The b2g.pl/g2b.pl utility reads files sequentially, convert them between GBK and Big5, then writing them to the standard output. The file operands are processed in command-line order. If file 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.
Example usage:
% g2b.pl -p < gbk.txt > big5.txt
% g2b.pl -pu < simp.txt > trad.txt
SEE ALSO
AUTHORS
Autrijus Tang <autrijus@autrijus.org>
COPYRIGHT
Copyright 2002 by Autrijus Tang <autrijus@autrijus.org>.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.