Help for this page

Select Code to Download


  1. or download this
    use Lingua::JA::Moji qw/kana2romaji romaji2kana/;
    #use utf8;
    ...
    print OUTP kana2romaji (@hira);
    close INP;
    close OUTP;
    
  2. or download this
    use Encode;
    @hira = Encode::decode( 'utf8', @hira );#if
    encode('utf8', decode('utf8', @hira), @hira));
    @hira = decode("utf-8", @hira );
    binmode @hira, ':encoding(utf8)';
    
  3. or download this
    use utf8;
    _utf8_on(@hira);