« tuhan.cc | メイン | Jcodeを使おう(実用本位のJcode紹介) »

Jcode.pm インストール手順

不要

Jcode.pm インストール手順

Jcode.pmのインストール手順



use Encode;
Encode::from_to( $keyword, "UTF8", "euc-jp", 1);

でUTF-8からeuc-jpに変換可能

http://homepage2.nifty.com/hobbit/html/lint.html#jcode

Jcode.pmはPerl 5.8から標準のEncodeに組み込まれたそうですが...

→追記
use Encode;
$keyword = "キッチン";
Encode::from_to( $keyword, "sjis", "UTF8", 1);
print $keyword;
でいけそう sjisやeuc-jp

About

2005年08月15日 16:05に投稿されたエントリーのページです。

ひとつ前の投稿は「tuhan.cc」です。

次の投稿は「Jcodeを使おう(実用本位のJcode紹介)」です。

他にも多くのエントリーがあります。メインページアーカイブページも見てください。

Powered by
Movable Type 3.34