perltw man page

XXXXXXXXXXXXXXXXXX, XXXXXXXXXXXX. Xxxxxx POD (Xxxxxx) XX; XXXXXXXXXXXXXX, Xxxxxx. XXXXXXXXXXX, XXX perlpod XXXX.

perltw — XXXX Perl XX

Description

XXXX Perl XXX!

X 5.8.0 XXX, Perl Xxxxxx Unicode (XXX) XX, XXXXXXXXXXXXXXXXXXX; CJK (XXX) XXXXXXXX. Unicode Xxxxxxx, XXXXXXXXXXXX: XXXX, XXXX, XXXXXXXX (XXX, XXXX, XXXX, XXXX, XXX, XXXX, XX). XXXXXXXXXXXXXX (X PC XXXX).

Perl XXX Unicode XXXX. XXX Perl XXXXXXXXX Unicode XX; Perl Xxxxxx (XXXXXXXXX) XXX Unicode XXXX. Xxxxxxx, Xxxxx Unicode XXXXXXXXXXXX, Perl XXX Encode XXXX, XXXXXXXXXXXXXXXXXXX.

Encode XXXXXXXXXXXXXXXXX ('big5' XX 'big5-eten'):

big5-eten   Big5 XX (XXXXXXX)
big5-hkscs  Big5 + XXXXX, 2001 XX
cp950       XXX 950 (Big5 + XXXXXXX)

XXXX, X Big5 Xxxxxxx Unicode, XXXXXXXX:

perl -MEncode -pe '$_= encode( utf8 => decode( big5 => $_ ) )' \
  < file.big5 > file.utf8

Perl XXXX "piconv", Xxxxx Perl XXXXXXXXXXX, XXXX:

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

XXXXXXXXXX utf8 XXXXXXXXX utf8 XXXXXXXXXXXXXXX XXXXXXXXXXXXXXXXXXXXXXX

#!/usr/bin/env perl
use utf8;
print length("XX");      #  2 (XX 6)
print index("XXXX", "XX"); #  2 (X 0 XXX 2 XXX)

Xxxxxxx

XXXXXXXXXXX, XXX CPAN (<http://www.cpan.org/>) XX Encode::HanExtra XX. XXXXXXXXXXX:

cccii       1980 XXXXXXXXXXXX
euc-tw      Unix XXXXX, XX CNS11643 XX 1-7
big5plus    XXXXXXXXXXXXX Big5+
big5ext     XXXXXXXXXXXXX Big5e

XX, Encode::HanConvert XXXXXXXXXXXXXXXX:

big5-simp   Big5 XXXXX Unicode XXXXXX
gbk-trad    GBK XXXXX Unicode XXXXXX

XXX GBK X Big5 XXXX, XXXXXXXXX b2g.pl X g2b.pl XXXX, XXXXXXXXXXX:

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

Xxxxxx

XXX Perl XXXXXXXXX (XXXXXXXXX), Xxxxxxx Perl XXX, XX Unicode Xxxxx. XX, XXXXXXXXX:

XX Perl XXXXX

<http://www.perl.com/>
Perl XXX (XXXXXXXX)
<http://www.cpan.org/>
Perl Xxxxx (Comprehensive Perl Archive Network)
<http://lists.perl.org/>
Perl Xxxxxx

XX Perl XXX

<http://www.oreilly.com.tw/product_perl.…>
XXXXXXXXX Perl XX
<http://groups.google.com/groups?q=tw.bb…>
XX Perl Xxxxx (Xxxxx BBS X Perl XXX)

Perl XXXXX

<http://www.pm.org/groups/taiwan.html>
XX Perl Xxxxx
<irc://irc.freenode.org/#perl.tw>
Perl.tw Xxxxx

Unicode XXXX

<http://www.unicode.org/>
Unicode XXXX (Unicode Xxxxxx)
<http://www.cl.cam.ac.uk/%7Emgk25/unicod…>
Unix/Linux XX UTF-8 X Unicode XXX

Xxxxx

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

See Also

Encode, Encode::TW, perluniintro, perlunicode

Authors

Jarkko Hietaniemi <jhi@iki.fi>

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

Info

2016-02-05 perl v5.24.0 Perl Programmers Reference Guide