Mail::Message::Encode クラス

fml8 チュートリアル (バージョン 7.99.1-20180910)
Prev |  | Next

# Chapter 57. Mail::Message::Encode クラス

# Mail::Message::Encode の使い方の見本

[リファレンス] fml-help ML's Count: 02012, 02013, 02016 など

    [使い方の例]

       * fml 8.0 風の使い方

    	use Mail::Message::Encode;
    	my $encode  = new Mail::Message::Encode;
    	my $str_euc = $encode->convert( $s, 'euc-jp' );
    	my $str_euc = $encode->convert( $s, 'euc-jp', 'iso-2022-jp' );

    	my $encode  = new Mail::Message::Encode;
    	my $status  = $encode->convert_str_ref( \$s, 'euc-jp' );
    	my $status  = $encode->convert_str_ref( \$s, 'euc-jp', 'jis' );

    	my $fp = sub { ... };
    	$encode->run_in_chcode( $fp, $oout, $in );

       * fml 4.0 互換風の使い方

    	ues Mail::Message::Encode qw(STR2EUC);
    	my $euc_s = STR2EUC( $s );

Prev | Home | Next
言語別の処理関数 | Up | Mail::Message::Encode の仕様の粗筋

fml 8.0 (fml-devel) project homepage is www.fml.org/software/fml8/.
fml 4.0 project homepage is www.fml.org/software/fml4/.
about one floppy bsd routers, see www.bsdrouter.org/.
other free softwares are found at www.fml.org/software/.

author's homepage is www.fml.org/home/fukachan/.
Also, visit nuinui's world :) at www.nuinui.net.

For questions about FML, e-mail <fml-bugs@fml.org>.