Encode::Korean::NKR_1992 - Perl extension for Encoding of Korean: North Korean Romanizaiton
use Encode::Korean::NKR_1992; $string = decode 'nkr', decode $enc, $octets; $octets = encode $enc, encode 'nkr', $string; while($line = <>) { print encode 'utf8', decode 'nkr', $line; }
Encode::Korean::NKR_1992 implements an encoding system based on North Korean Romanizaiton (National system of DPKR), released in 1992 by Chosun Gwahagwon.
$nkr->consonants(qw(k kk n t tt r m p pp s ss ng ts tss tsh kh th ph h)); $nkr->vowels( "a", "ae", "ya", "yae", "\x{014F}", # latin small letter with breve (ŏ) "e", "y\x{014F}", "ye", "o", "wa", "wae", "oe", "yo", "u", "w\x{014F}", "we", "wi", "yu", "\x{016D}", # latin small letter u with breve (ŭ) "\x{016D}y", "i"
See http://en.wikipedia.org/wiki/Korean_romanization, you can find a link to comparsion table of transliteration systems.
You Hyun Jo, <you at cpan dot org>
Copyright (C) 2007 by You Hyun Jo
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.8 or, at your option, any later version of Perl 5 you may have available.
To install Encode::Korean, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Encode::Korean
CPAN shell
perl -MCPAN -e shell install Encode::Korean
For more information on module installation, please visit the detailed CPAN module installation guide.