|
NAMEEncode::MIME::EncWords -- MIME 'B' and 'Q' header encoding (alternative)SYNOPSISuse Encode::MIME::EncWords; use Encode qw/encode decode/; # decode header: $utf8 = decode('MIME-EncWords', $header); # encode header with default charset, UTF-8: $header = encode('MIME-EncWords', $utf8); # encode header with another charset: Encode::MIME::EncWords->config(Charset => 'GB2312'); $header = encode('MIME-EncWords', $utf8); ABSTRACTThis module implements MIME header encoding described in RFC 2047. There are three variant encoding names and one shorthand special to a charset:Encoding name Result of encode() Comment ------------------------------------------------------------------- MIME-EncWords (auto-detect B or Q) MIME-EncWords-B =?XXXX?B?...?= Default is UTF-8. MIME-EncWords-Q =?XXXX?Q?...?= ,, MIME-EncWords-ISO_2022_JP =?ISO-2022-JP?B?...?= All encodings generate the same result by decode(). DESCRIPTIONThis module is intended to be an alternative of "MIME-*" encodings provided by Encode::MIME::Header core module. To find out how to use this module in detail, see Encode.Module specific feature
For more details about options see MIME::EncWords. CAVEAT
BUGSPlease report bugs or buggy behaviors to developer.CPAN Request Tracker: <http://rt.cpan.org/Public/Dist/Display.html?Name=MIME-EncWords>. VERSIONConsult $VERSION variable.This is experimental release. Features might be changed in the near future. Development versions of this package may be found at <http://hatuka.nezumi.nu/repos/MIME-EncWords/>. SEE ALSOEncode, Encode::MIME::Header, MIME::EncWords.RFC 2047 MIME (Multipurpose Internet Mail Extensions) Part Three: Message Header Extensions for Non-ASCII Text. AUTHORHatuka*nezumi - IKEDA Soji <hatuka(at)nezumi.nu>COPYRIGHTCopyright (C) 2011 Hatuka*nezumi - IKEDA Soji.This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Visit the GSP FreeBSD Man Page Interface. |