Softpedia
 


LINUX CATEGORIES:



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

    Jcode 2.06

    Download button

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

    License / Price:

    Last Updated:

    Category:
    Dan Kogai | More programs
    Perl Artistic License / FREE
    May 15th, 2007, 06:05 GMT
    ROOT / Programming / Libraries

     Read user reviews (0)  Refer to a friend  Subscribe

    Jcode description

    Jcode is a Japanese Charset Handler.

    Jcode is a Japanese Charset Handler.

    SYNOPSIS

    use Jcode;
    #
    # traditional
    Jcode::convert($str, $ocode, $icode, "z");
    # or OOP!
    print Jcode->new($str)->h2z->tr($from, $to)->utf8;

    < Japanese document is now available as Jcode::Nihongo. >

    Jcode.pm supports both object and traditional approach. With object approach, you can go like;

    $iso_2022_jp = Jcode->new($str)->h2z->jis;

    Which is more elegant than:

    $iso_2022_jp = $str;
    &jcode::convert($iso_2022_jp, 'jis', &jcode::getcode($str), "z");

    For those unfamiliar with objects, Jcode.pm still supports getcode() and convert().

    If the perl version is 5.8.1, Jcode acts as a wrapper to Encode, the standard charset handler module for Perl 5.8 or later.

    Product's homepage

    Requirements:

    · Perl

      


    TAGS:

    Charset Handler | Japanese Charsets | Perl module | Jcode | Japanese | Charset

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

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