Query: im::encdec
OS: debian
Section: 3pm
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
IM::EncDec(3pm) Internet Message Perl modules IM::EncDec(3pm)NAMEIM::EncDec - MIME header encoder/decoderSYNOPSISuse IM::EncDec; $mime_header_encoded_string = mime_encode_string(string, iso7bit, iso8bit); $string = mime_decode_string(mime_header_encoded_string); $B_encoded_string = b_encode_string(string); $string = b_decode_string(B_encoded_string); $Q_encoded_string = q_encode_string(string); $string = q_decode_string(Q_encoded_string);DESCRIPTIONThe IM::EncDec module is encoder/decoder for MIME header. This modules is provided by IM (Internet Message).EXAMPLES$_ = "JAPANESE (Kazuhiko Yamamoto)"; mime_encode_string($_, 'iso-2022-jp', 'iso-8859-1'); => =?iso-2022-jp?B?GyRCOzNLXE9CSScbKEI=?= (Kazuhiko Yamamoto) s/ [ ]+//g; print mime_decode_string($_), " "; => "JAPANESE (Kazuhiko Yamamoto)"COPYRIGHTIM (Internet Message) is copyrighted by IM developing team. You can redistribute it and/or modify it under the modified BSD license. See the copyright file for more details. IM151 2011-05-25 IM::EncDec(3pm)