™.. Encode::CN - Online Linux Manual PageSection : 3pm
Updated : 2009-02-12
Source : perl v5.10.1
Note : Perl Programmers Reference Guide

NAMEEncode::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

DESCRIPTIONThis 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.

NOTESDue to size concerns, \*(C`GB 18030\*(C'\fR (an extension to \f(CW\*(C`GBK\*(C'\fR) is distributed separately on CPAN, under the name Encode::HanExtra. That module also contains extra Taiwan-based encodings.

BUGSWhen you see \*(C`charset=gb2312\*(C'\fR on mails and web pages, they really mean \*(C`euc\-cn\*(C'\fR encodings. To fix that, \f(CW\*(C`gb2312\*(C'\fR is aliased to \f(CW\*(C`euc\-cn\*(C'\fR. Use \*(C`gb2312\-raw\*(C'\fR 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 <http://www.debian.or.jp/~kubota/unicode−symbols.html.en> to find out why it is implemented that way.

SEE ALSOEncode
0
Johanes Gumabo
Data Size   :   7,594 byte
man-Encode::CN.3pmBuild   :   2024-12-05, 20:55   :  
Visitor Screen   :   x
Visitor Counter ( page / site )   :   3 / 190,920
Visitor ID   :     :  
Visitor IP   :   3.139.236.144   :  
Visitor Provider   :   AMAZON-02   :  
Provider Position ( lat x lon )   :   39.962500 x -83.006100   :   x
Provider Accuracy Radius ( km )   :   1000   :  
Provider City   :   Columbus   :  
Provider Province   :   Ohio ,   :   ,
Provider Country   :   United States   :  
Provider Continent   :   North America   :  
Visitor Recorder   :   Version   :  
Visitor Recorder   :   Library   :  
Online Linux Manual Page   :   Version   :   Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.05
Online Linux Manual Page   :   Library   :   lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page   :   Library   :   lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base   :   Version   :   Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base   :   Library   :   lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36

Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.

ERROR : Need New Coding :         (parse_manual_page_|249|Encode::CN.3pm|36/37|el══─{─══.|.el══─{─══. ds -- \|\(em\| )         (htmlprn|149|Encode::CN.3pm|36/37|.el══─{─══. ds --  —  |.el══─{─══. ds -- \|\(em\| )         (parse_manual_page_|249|Encode::CN.3pm|41|br══─}─══|'br══─}─══ )         (htmlprn|149|Encode::CN.3pm|41|'br══─}─══ |'br══─}─══ )         (rof_nr_x|149|Encode::CN.3pm|51/52|\nF|.ie \nF ══─{─══. de IX )         (rof_unit_scale_px|41|Encode::CN.3pm|51/52|F|.ie \nF ══─{─══. de IX )         (rof_if|19|Encode::CN.3pm|51/52|\nF|.ie \nF ══─{─══. de IX )         (htmlprn|149|Encode::CN.3pm|51/52|.ie \nF ══─{─══. de IX|.ie \nF ══─{─══. de IX )         (rof_escape_sequence|91|Encode::CN.3pm|53|\$1\t\\n%\t"\\$2" |. tm Index:\\$1\t\\n%\t"\\$2" )         (parse_manual_page_|249|Encode::CN.3pm|57|══─}─══|.══─}─══ )         (htmlprn|149|Encode::CN.3pm|57|.══─}─══ |.══─}─══ )         (rof_escape_sequence|91|Encode::CN.3pm|166|\*(C`GB 18030\*(C'\fR (an extension to \f(CW\*(C`GBK\*(C'\fR) is distributed |Due to size concerns, \f(CW\*(C`GB 18030\*(C'\fR (an extension to \f(CW\*(C`GBK\*(C'\fR) is distributed )         (rof_escape_sequence|91|Encode::CN.3pm|171|\*(C`charset=gb2312\*(C'\fR on mails and web pages, they really |When you see \f(CW\*(C`charset=gb2312\*(C'\fR on mails and web pages, they really )         (rof_escape_sequence|91|Encode::CN.3pm|172|\*(C`euc\-cn\*(C'\fR encodings. To fix that, \f(CW\*(C`gb2312\*(C'\fR is aliased to \f(CW\*(C`euc\-cn\*(C'\fR. |mean \f(CW\*(C`euc\-cn\*(C'\fR encodings. To fix that, \f(CW\*(C`gb2312\*(C'\fR is aliased to \f(CW\*(C`euc\-cn\*(C'\fR. )         (rof_escape_sequence|91|Encode::CN.3pm|173|\*(C`gb2312\-raw\*(C'\fR when you really mean it. |Use \f(CW\*(C`gb2312\-raw\*(C'\fR when you really mean it. )