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
| System | Port | Version |
|---|---|---|
| OpenBSD | textproc/p5-Encode-HanExtra | 0.23p0 |
| FreeBSD | chinese/p5-Encode-HanExtra | 0.23_2 |
| NetBSD | textproc/p5-Encode-HanExtra | 0.23nb10 |
| DragonFly | chinese/p5-Encode-HanExtra | 0.23_2 |
Install
Binary package:
pkg_add p5-Encode-HanExtra
From the ports tree:
cd /usr/ports/textproc/p5-Encode-HanExtra && make install