README.TW(1)

NAME
perltw - XXXXXX Perl XXXn

DESCRIPTION
XwXXXXX Perl XXXXa!

Xq 5.8.0 XXX}Xl, Perl XXXXFXXXXXX Unicode (XUXXXX) XX, X]XsXaXXXFX\XhXXBXyXtXHX~XXXsXXXX; CJK (XXXXXX) XKXOXXXXX@XXXX. Unicode XOXXXXXXXXX, XXX[X\X@XXWXXXXXXrXX: XXXXX@XX, XFXXX@XX, XHXXXXXXXXX@XX (XXbXX, XXQXXX, XXXXBXX, XXBXXX, XLXXX, XLXaXwXX, XXXX). XXX]XeXXFXhXX@X~XtXXPXXXO (Xp PC XXXXXXX).

Perl XXXXXH Unicode XiXXXX@. XoXXXX Perl XXXXXXXrXXXXXXiXX Unicode XXXX; Perl XXXXXPXXXX (XXpXXXWXXXXXXXXX) X]XXXX Unicode XiXXXX@. XbXXXJXXXXXXX, XXXFXBXzXH Unicode XXXeXXXsXXXXXxXsXXXXXX, Perl XXXXF Encode XoXXXX, XiXHXXXAXXXXXaXXXXXgXJXXXXXXsXXXXXX.

Encode XXXXXXXXXUXCXXXXXXXsXXXX ('big5' XXXX 'big5-eten'):

    big5-eten   Big5 XsXX (XtXXXXXXXrXX)
    big5-hkscs  Big5 + XXXXX~XrXX, 2001 X~XX
    cp950       XrXXXX 950 (Big5 + XLXnXKX[XXXrXX)

X|XXXX, XN Big5 XsXXXXXXXXX Unicode, XXXXXXXJXUXCXXXO:

    perl -Mencoding=big5,STDOUT,utf8 -pe1 < file.big5 > file.utf8

Perl X]XXXXXF "piconv", X@XXXXXH Perl XgXXXXXrXXXXXuXXX{XX, XXkXpXU:

    piconv -f big5 -t utf8 < file.big5 > file.utf8
    piconv -f utf8 -t big5 < file.utf8 > file.big5

XtX~, XQXX encoding XXX, XAXiXHXXXXXgXXXHXrXXXXXXXX{XXXX, XpXUXXX:

    #!/usr/bin/env perl
    # XXX big5 XrXXXXR; XXXXXXXJXXXXXX~XXX]XX big5 XsXX
    use encoding 'big5', STDIN => 'big5', STDOUT => 'big5';
    print length("XdXm");            #  2 (XXXXXXXXXrXX)
    print length('XdXm');            #  4 (XXXXXXXXXXXX)
    print index("XXXXX", "XX"); # -1 (XXX]XtXXXlXrXX)
    print index('XXXXX', 'XX'); #  1 (XqXXGXXXXX}Xl)

XbXXXX@XCXXlXX, "XX" XXXXGXXXXXP "XX" XXXX@XXXXXXXXXX Big5 XXXX "X"; "XX" XXXXGXXXXXhXP "XX" XXXX@XXXXXXXXXX "X". XoXXMXFXHXe Big5 XXXXXXXBXzXWX`XXXXXXXD.

  XBX~XXXXXXXsXX
XpXGXXnXXXhXXXXXXXsXX, XiXHXq CPAN (<http://www.cpan.org/>) XUXX Encode::HanExtra XXX. XXXXeXXXXUXCXsXXXX:

    cccii       1980 X~XXXX|XXXXXXXXXTXXXX
    euc-tw      Unix XXXXXrXXX, X]Xt CNS11643 XXXX 1-7
    big5plus    XXXXXXXXXXNXXXsXXXXX|XX Big5+
    big5ext     XXXXXXXXXXNXXXsXXXXX|XX Big5e

XtX~, Encode::HanConvert XXXhXXXXFXXcXXXXXXXXXsXX:

    big5-simp   Big5 XXXXXXXP Unicode XXXXXXX
    gbk-trad    GBK XXXXXXP Unicode XXXXXXXX

XYXQXb GBK XP Big5 XXXXXXXX, XXXXXXXXXXXX b2g.pl XP g2b.pl XXXXX{XX, XXbX{XXXXXXXUXCXgXk:

    use Encode::HanConvert;
    $euc_cn = big5_to_gb($big5); # Xq Big5 XX GBK
    $big5 = gb_to_big5($euc_cn); # Xq GBK XX Big5

  XiX@XBXXXXXT
XXXX Perl XXXXXXXjXqXXXXXXXX (XXXXXXXOXX^XXXgXX), XXXXXXhXXXX Perl XXXXXX, XHXX Unicode XXXXXX. XXXL, X~XXXXXXXXXXXI:

  XXXX Perl XXXXXXX}

<http://www.perl.com/>
    Perl XXXXXX (XXXXXXXXqXXX@)

<http://www.cpan.org/>
    Perl XXXXXXXuX (Comprehensive Perl Archive Network)

<http://lists.perl.org/>
    Perl XlXXXXX@XX

  XXX Perl XXXXX}

<http://www.oreilly.com.tw/product_perl.php?id=index_perl>
    XXXXXXXXXXXX Perl XXXX

<http://groups.google.com/groups?q=tw.bbs.comp.lang.perl>
    XOXW Perl XsXuXQXXX (X]XNXOXUXj BBS XX Perl XsXuXX)

  Perl XXXXXX|

<http://www.pm.org/groups/asia.html>
    XOXW Perl XXXsXX@XX

<http://irc.elixus.org/>
    XXXXXXuXWXXXXX

  Unicode XXXXXXX}

<http://www.unicode.org/>
    Unicode XXNXX| (Unicode XXXXXXXwXX)

<http://www.cl.cam.ac.uk/%7Emgk25/unicode.html>
    Unix/Linux XWXX UTF-8 XX Unicode XXXXX

  XXXXXXXXT

XXXXXXnXXXpXX
    <http://www.cpatch.org/>

Linux XnXXXXXXpXX
    <http://www.linux.org.tw/CLDP/>

SEE ALSO
Encode, Encode::TW, encoding, perluniintro, perlunicode

AUTHORS
Jarkko Hietaniemi <jhi@iki.fi>

Audrey Tang (XXXX) <audreyt@audreyt.org>

POD ERRORS
Hey! The above document had some coding errors, which are explained below:

Around line 11:
    Couldn't do =encoding big5: Encoding is already set to utf8