Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.3 / 3....
  • LibreOffice 3.6.6 / 4.0.3
  • MPlayer 1.1.1
  • systemd 204
  • Arch Linux 2013.05.01
  • Blender 2.67a
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Programming > Libraries

    Encode::HanExtra 0.23

    Download button

    No screenshots available
    Downloads: 561  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Autrijus Tang | More programs
    Perl Artistic License / FREE
    September 23rd, 2010, 06:30 GMT
    ROOT / Programming / Libraries

     Read user reviews (0)  Refer to a friend  Subscribe

    Encode::HanExtra description

    Contains extra sets of Chinese encodings

    Encode::HanExtra Perl module contains extra sets of Chinese encodings.

    SYNOPSIS

    use Encode;

    # Traditional Chinese
    $euc_tw = encode("euc-tw", $utf8); # loads Encode::HanExtra implicitly
    $utf8 = decode("euc-tw", $euc_tw); # ditto

    # Simplified Chinese
    $gb18030 = encode("gb18030", $utf8); # loads Encode::HanExtra implicitly
    $utf8 = decode("gb18030", $gb18030); # ditto


    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.

    ENCODINGS

    This version includes the following encoding tables:

    Canonical Alias Description
    -----------------------------------------------------------------------------
    big5-1984 /b(tca-)?big5-?(19)?84$/i TCA's original Big5-1984
    big5ext /b(cmex-)?big5-?e(xt)?$/i CMEX's Big5e Extension
    big5plus /b(cmex-)?big5-?p(lus)?$/i CMEX's Big5+ Extension
    /b(cmex-)?big5+$/i
    cccii /b(ccag-)?cccii$/i Chinese Character Code for
    Information Interchange
    cns11643-1 /bCNS[-_ ]?11643[-_]1$/i Taiwan's CNS map, plane 1
    cns11643-2 /bCNS[-_ ]?11643[-_]2$/i Taiwan's CNS map, plane 2
    cns11643-3 /bCNS[-_ ]?11643[-_]3$/i Taiwan's CNS map, plane 3
    cns11643-4 /bCNS[-_ ]?11643[-_]4$/i Taiwan's CNS map, plane 4
    cns11643-5 /bCNS[-_ ]?11643[-_]5$/i Taiwan's CNS map, plane 5
    cns11643-6 /bCNS[-_ ]?11643[-_]6$/i Taiwan's CNS map, plane 6
    cns11643-7 /bCNS[-_ ]?11643[-_]7$/i Taiwan's CNS map, plane 7
    cns11643-f /bCNS[-_ ]?11643[-_]f$/i Taiwan's CNS map, plane F
    euc-tw /beuc.*tw$/i EUC (Extended Unix Character)
    /btw.*euc$/i
    gb18030 /bGB[-_ ]?18030$/i GBK with Traditional Characters
    unisys /bunisys$/i Unisys Traditional Chinese
    unisys-sosi1 Unisys SOSI1 transport encoding
    unisys-sosi2 Unisys SOSI2 transport encoding

    Detailed descriptions are as follows:

    BIG5-1984

    This is the original Big5 encoding made by TCA Taiwan.

    BIG5PLUS

    This encoding, while not heavily used, is an attempt to bring all Taiwan's conflicting internal-use encodings together, and fit it as an extension to the widely-deployed Big5 range, by CMEX Taiwan.

    BIG5EXT

    The CMEX's second (and less ambitious) try at unifying the most commonly used characters not covered by Big5, while not polluting out of the 94x94 arragement like BIG5PLUS did.

    CCCII

    The earliest (and most sophisticated) Traditional Chinese encoding, with a three-byte raw character map, made in 1980 by the Chinese Character Analysis Group (CCAG), used mostly in library systems.

    EUC-TW

    The EUC transport version of CNS11643 (planes 1-7), the comprehensive character set used by the Taiwan government.

    CNS11643-*

    The raw character map extracted from the Unihan database, including the plane F which wasn't included in EUC-TW.

    GB18030

    An extension to GBK, this encoding lists most Han characters (both simplified and traditional), as well as some other encodings used by other peoples in China.

    UNISYS

    Unisys System's internal Chinese mapping.


    Product's homepage

    Requirements:

    · Perl

      


    TAGS:

    Chinese encodings | Big5-HKSCS encoding | ISO-IR-165 encoding | Encode::HanExtra | Chinese | encodings

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM