<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">蜷榊燕
    Jcode::CP932 - CP932貅匁侠縺ｫ繧医ｋJcode

讎りｦ�
     use Jcode::CP932;
     # 謗ｨ螂ｨ��Jcode.pm縺ｨ縺ｮ莠呈鋤繧定�∴縺ｦ��
     jcode( $str )-&gt;utf8;

     # 蜿､蠑上ｆ縺九＠縺�
     Jcode::CP932::convert($str, $ocode, $icode, "z");
     # 繧ゅ＠縺上�繧ｪ繝悶ず繧ｧ繧ｯ繝域欠蜷代〒��
     print Jcode::CP932-&gt;new($str)-&gt;h2z-&gt;tr($from, $to)-&gt;utf8;

隱ｬ譏�
    Jcode::CP932縺ｯCP932縺ｫ繧医ｋUnicode繝槭ャ繝斐Φ繧ｰ繧堤畑縺�◆Jcode莉｣譖ｿ迚ｩ縺ｧ縺吶�
    sjis縺ｯCP932縺ｮ縲‘uc繧�jis縺ｯCP51932縺翫ｈ縺ｳCP50221縺ｮ繝槭ャ繝斐Φ繧ｰ繧貞茜逕ｨ縺励※縺�∪縺吶�

    迚ｹ縺ｫ隱ｬ譏弱�縺ｪ縺�せ縺ｯJcode縺ｨ蜷梧ｧ倥�蜍穂ｽ懊↓縺ｪ繧翫∪縺吶�

豁｣隕丞喧
    JIS邉ｻ縺ｧ螟画鋤縺励◆UTF-8譁�ｭ励→CP932邉ｻ縺ｧ螟画鋤縺励◆UTF-8縺ｧ縺ｮ荳肴紛蜷医ｒ隗｣豸医☆繧九◆繧√↓縲√お繝ｳ繧ｳ繝ｼ繝牙､画鋤譎ゅ↓豁｣隕丞喧蜃ｦ逅�ｒ陦後↑縺�％縺ｨ縺後〒縺阪∪縺�
    縲� 讓呎ｺ悶〒縺ｯ荳驛ｨ險伜捷繧谷IS邉ｻ縺ｮ繧ゅ�縺九ｉCP932邉ｻ縺ｫ螟画鋤縺励※縺�∪縺吶�

霑ｽ蜉�繝｡繧ｽ繝�ラ
    繧ｪ繝ｪ繧ｸ繝翫Ν縺ｮJcode縺ｫ蟇ｾ縺励※縲∽ｻ･荳九�繝｡繧ｽ繝�ラ繧定ｿｽ蜉�縺励※縺�∪縺吶�

    �医％繧後ｉ縺ｯ荳ｻ縺ｫUnicode::Japanese繧貞盾閠�↓縺励∪縺励◆��

  get
    Jcode蜀�Κ縺ｫ菫晏ｭ倥＠縺ｦ縺�ｋUTF-8譁�ｭ怜�繧貞叙蠕励＠縺ｾ縺吶�

    utf8繝｡繧ｽ繝�ラ縺ｧ縺ｯUTF-8譁�ｭ怜�繧偵ヰ繧､繝翫Μ縺ｫ螟画鋤縺励∪縺吶′縲“et繝｡繧ｽ繝�ラ縺ｧ縺ｯutf8繝輔Λ繧ｰ縺御ｻ倥＞縺滓枚蟄怜�縺ｫ縺ｪ繧翫∪縺吶�

  縺ｲ繧峨′縺ｪ繧ｫ繧ｿ繧ｫ繝雁､画鋤 (hira2kata kata2hira)
    hira2kata繝｡繧ｽ繝�ラ縺ｯ縲∵枚蟄怜�縺ｫ蜷ｫ縺ｾ繧後※縺�ｋ縺ｲ繧峨′縺ｪ繧貞�縺ｦ繧ｫ繧ｿ繧ｫ繝翫↓螟画鋤縺励∪縺吶�

    kata2hira繝｡繧ｽ繝�ラ縺ｯ縲∵枚蟄怜�縺ｫ蜷ｫ縺ｾ繧後※縺�ｋ繧ｫ繧ｿ繧ｫ繝翫ｒ蜈ｨ縺ｦ縺ｲ繧峨′縺ｪ縺ｫ螟画鋤縺励∪縺吶�

  ASCII譁�ｭ怜�縺ｮ蜈ｨ隗貞濠隗貞､画鋤
    z2h_ascii繝｡繧ｽ繝�ラ縺ｯ縲∵枚蟄怜�縺ｫ蜷ｫ縺ｾ繧後※縺�ｋ蜊願ｧ但SCII繧貞�隗但SCII縺ｫ螟画鋤縺励∪縺吶�
    z2h_all繝｡繧ｽ繝�ラ縺ｯ縲∵枚蟄怜�縺ｫ蜷ｫ縺ｾ繧後ｋ蜊願ｧ偵�ASCII縺翫ｈ縺ｳ繧ｫ繧ｿ繧ｫ繝翫ｒ蜈ｨ隗偵↓螟画鋤縺励∪縺吶�

    h2z_ascii繝｡繧ｽ繝�ラ縺ｯ縲∵枚蟄怜�縺ｫ蜷ｫ縺ｾ繧後※縺�ｋ蜈ｨ隗但SCII繧貞濠隗但SCII縺ｫ螟画鋤縺励∪縺吶�
    z2h_all繝｡繧ｽ繝�ラ縺ｯ縲∵枚蟄怜�縺ｫ蜷ｫ縺ｾ繧後ｋ蜈ｨ隗偵�ASCII縺翫ｈ縺ｳ繧ｫ繧ｿ繧ｫ繝翫ｒ蜊願ｧ偵↓螟画鋤縺励∪縺吶�

隰晁ｾ�
    Jcode.pm縺ｮ蟆城｣ｼ蠑ｾ豌上→縲・ncode::EUCJPMS縺ｮ謌千ｬ繧�＞豌上ゞnicode::Japanese縺ｮ螻ｱ遘第ｰｷ鬲壽ｰ上↓縲�

    縺ｾ縺溘√Ξ繧ｬ繧ｷ繝ｼ繧ｨ繝ｳ繧ｳ繝�ぅ繝ｳ繧ｰ縺ｮ莉ｶ縺ｧ縺ｯ譽ｮ螻ｱ蟆�ｹ区ｰ上↓縺贋ｸ冶ｩｱ縺ｫ縺ｪ繧翫∪縺励◆縲�

蜿り�
    Jcode

    Encode::EUCJPMS

    Unicode::Japanese

闡嶺ｽ懈ｨｩ
    Copyright 2006-2009 ASAKURA Takuji

    This program is free software; you can redistribute it and/or modify it
    under the same terms as Perl itself.

</pre></body></html>