Encode::TW(3pm)
πΈ Encode::TW(3pm) β Taiwan-based Chinese Encodings πΈ
β¨ NAME β¨
Encode::TW β Taiwan-based Chinese Encodings. Yes bestie, this is the Encode::TW(3pm) page, and it's all about the Taiwan-based Chinese encodings π
π SYNOPSIS π
okay so you use it like this:
use Encode qw/encode decode/;
$big5 = encode("big5", $utf8); # loads Encode::TW implicitly
$utf8 = decode("big5", $big5); # ditto
the comments are literally doing the explaining: encode("big5", ...) loads Encode::TW implicitly, and decode("big5", ...) does ditto π«Ά
π DESCRIPTION π
okay so this module implements the traditional Chinese charset encodings as used in Taiwan and Hong Kong. The encodings supported are as follows β canonical name, aliases, and description, no cap:
the encoding lineup π
big5-etenβ Big5 encoding (with ETen extensions). Aliases:/\bbig-?5$/i,/\bbig5-?et(en)?$/i,/\btca-?big5$/i.big5-hkscsβ Big5 + Cantonese characters in Hong Kong. Aliases:/\bbig5-?hk(scs)?$/i,/\bhk(scs)?-?big5$/i.MacChineseTradβ Big5 + Apple Vendor Mappings.cp950β Code Page 950 = Big5 + Microsoft vendor mappings.
To find out how to use this module in detail, see Encode.
π§ NOTES π§
Due to size concerns, EUC-TW (Extended Unix Character), CCCII (Chinese Character Code for Information Interchange), BIG5PLUS (CMEX's Big5+) and BIG5EXT (CMEX's Big5e) are distributed separately on CPAN, under the name Encode::HanExtra. That module also contains extra China-based encodings. slay, but keep that in mind π«Ά
π BUGS π
okay this part is important, bestie π
- Since the original
big5encoding (1984) is not supported anywhere (glibc and DOS-based systems usebig5to meanbig5-eten; Microsoft usesbig5to meancp950), a conscious decision was made to aliasbig5tobig5-eten, which is the de facto superset of the original big5. - The
CNS11643encoding files are not complete. For commonCNS11643manipulation, please useEUC-TWinEncode::HanExtra, which contains planes 1-7. - The ASCII region (0x00-0x7f) is preserved for all encodings, even though this conflicts with mappings by the Unicode Consortium.
π₯ SEE ALSO π₯
Encode
k bye bestie π this page is from perl v5.42.3, dated 2026-11-03, and it signs off as Encode::TW(3pm) π«Άβ¨
π¦ where this page comes from
- alpine 3.24: perl-doc 5.42.3-r0 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms