
Encode::HanConvert::Perl - Perl-based Encode::HanConvert

use Encode::HanConvert; # autoloads Encode::HanConvert::Perl
# Conversion between Chinese encodings
$euc_cn = big5_to_gb($big5); # Big5 to GBK
$big5 = gb_to_big5($euc_cn); # GBK to Big5
# Conversion between Perl's Unicode strings - v5.6.0+ only
$simp = trad_to_simp($trad); # Traditional to Simplified
$trad = simp_to_trad($simp); # Simplified to Traditional
# All functions may be used in void context to transform $_[0]
big5_to_gb($string); # transform $string from big5 to gb

This Perl-based module provides part of the functionality of Encode::HanConvert, namely the big5_to_gb and gb_to_big5 functions.
The implementation is straightforward, and is significantly slower than the XS-based Encode::HanConvert; all Unicode-related functions are disabled for pre-5.6.0 perls as well.
This module should only be used in perl 5.7.2 or below.

The b2g.pl and g2b.pl utilities installed with this module.

Autrijus Tang <autrijus@autrijus.org>

Copyright 2002, 2003, 2004 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.