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


NAME

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


SYNOPSIS

    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


DESCRIPTION

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.


SEE ALSO

the Encode::HanConvert manpage

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


AUTHORS

Audrey Tang <cpan@audreyt.org>


COPYRIGHT

Copyright 2002, 2003, 2004 by Audrey Tang <cpan@audreyt.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