BSD Ports

textproc/p5-Encode-HanExtra 0.23p0 OpenBSD

extra sets of Chinese encodings

System
OpenBSD
Repository
OpenBSD ports
Maintainer
The OpenBSD ports mailing-list <[email protected]>
Categories
textproc, perl5

Description

Perl 5.7.3 and later ships with an adequate set of Chinese encodings, including the commonly used CP950, CP936 (also known as GBK), Big5 (alias for Big5-Eten), Big5-HKSCS, EUC-CN, HZ, and ISO-IR-165.

However, the numbers of Chinese encodings are staggering, and a complete coverage will easily increase the size of perl distribution by several megabytes; hence, this CPAN module tries to provide the rest of them.

If you are using perl 5.8 or later, Encode::CN and Encode::TW will automatically load the extra encodings for you, so there's no need to explicitly write use Encode::HanExtra if you are using one of them already.

In the other systems

SystemPortVersion
OpenBSDtextproc/p5-Encode-HanExtra0.23p0
FreeBSDchinese/p5-Encode-HanExtra0.23_2
NetBSDtextproc/p5-Encode-HanExtra0.23nb10
DragonFlychinese/p5-Encode-HanExtra0.23_2

Install

Binary package:

pkg_add p5-Encode-HanExtra

From the ports tree:

cd /usr/ports/textproc/p5-Encode-HanExtra && make install

Dependencies

Required by 1