-
-
13 Oct 2021 08:39:09 UTC
- Distribution: Encode
- Module version: 2.03
- Source (raw)
- Browse (raw)
- Changes
- How to Contribute
- Repository
- Issues (49)
- Testers (254 / 0 / 0)
- Kwalitee
Bus factor: 5- % Coverage
- License: perl_5
- Activity
24 month- Tools
- Download (1.96MB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
and 83 contributors-
Dan Kogai
-
Alex Davies
-
Alex Kapranoff
-
Alex Vandiver
-
Andreas J. Koenig
-
Andrew Pennebaker
-
Andy Grundman
-
Anton Tagunov
-
Autrijus Tang
-
Benjamin Goldberg
-
Bjoern Hoehrmann
-
Bjoern Jacke
-
bulk88
-
Craig A. Berry
-
Curtis Jewell
-
Dave Evans
-
David Golden
-
David Steinbrunner
-
Deng Liu
-
Dominic Dunlop
- drry
-
Elizabeth Mattijsen
-
Flavio Poletti
-
Gerrit P. Haase
-
Gisle Aas
-
Graham Barr
-
Graham Knop
-
Graham Ollis
-
Gurusamy Sarathy
-
H.Merijn Brand
-
Hugo van der Sanden
-
chansen
-
Chris Nandor
-
Inaba Hiroto
-
Jarkko Hietaniemi
-
Jesse Vincent
-
Jungshik Shin
-
Karen Etheridge
-
Karl Williamson
-
Kenichi Ishigaki
-
KONNO Hiroharu
-
Laszlo Molnar
-
Makamaka
-
Mark-Jason Dominus
-
Masahiro Iuchi
-
MATSUNO Tokuhiro
-
Mattia Barbon
-
Michael G Schwern
-
Michael LaGrasta
-
Miron Cuperman
-
Moritz Lenz
-
MORIYAMA Masayuki
-
Nick Ing-Simmons
-
Nicholas Clark
-
Olivier Mengué
- otsune
-
Pali
-
Paul Marquess
-
Peter Prymmer
-
Peter Rabbitson
-
Philip Newton
-
Piotr Fusik
-
Rafael Garcia-Suarez
-
Randy Stauner
-
Reini Urban
-
Robin Barker
-
SADAHIRO Tomoyuki
-
Simon Cozens
-
Slaven Rezic
-
Spider Boardman
-
Steve Hay
-
Steve Peters
-
SUGAWARA Hajime
-
SUZUKI Norio
-
szr8
-
Tatsuhiko Miyagawa
-
Tels
-
Tony Cook
-
Vadim Konovalov
-
Victor
-
Ville Skyttä
-
Vincent van Dam
-
Yitzchak Scott-Thoennes
- Dependencies
- Exporter
- Storable
- parent
- and possibly others
- Reverse dependencies
- CPAN Testers List
- Dependency graph
NAME
Encode::CN - China-based Chinese Encodings
SYNOPSIS
use Encode qw/encode decode/; $euc_cn = encode("euc-cn", $utf8); # loads Encode::CN implicitly $utf8 = decode("euc-cn", $euc_cn); # ditto
DESCRIPTION
This module implements China-based Chinese charset encodings. Encodings supported are as follows.
Canonical Alias Description -------------------------------------------------------------------- euc-cn /\beuc.*cn$/i EUC (Extended Unix Character) /\bcn.*euc$/i /\bGB[-_ ]?2312(?:\D.*$|$)/i (see below) gb2312-raw The raw (low-bit) GB2312 character map gb12345-raw Traditional chinese counterpart to GB2312 (raw) iso-ir-165 GB2312 + GB6345 + GB8565 + additions MacChineseSimp GB2312 + Apple Additions cp936 Code Page 936, also known as GBK (Extended GuoBiao) hz 7-bit escaped GB2312 encoding --------------------------------------------------------------------
To find how to use this module in detail, see Encode.
NOTES
Due to size concerns,
GB 18030
(an extension toGBK
) is distributed separately on CPAN, under the name Encode::HanExtra. That module also contains extra Taiwan-based encodings.BUGS
When you see
charset=gb2312
on mails and web pages, they really meaneuc-cn
encodings. To fix that,gb2312
is aliased toeuc-cn
. Usegb2312-raw
when you really mean it.The ASCII region (0x00-0x7f) is preserved for all encodings, even though this conflicts with mappings by the Unicode Consortium.
SEE ALSO
Module Install Instructions
To install Encode, copy and paste the appropriate command in to your terminal.
cpanm Encode
perl -MCPAN -e shell install Encode
For more information on module installation, please visit the detailed CPAN module installation guide.