|
NAMEMIME::AltWords0 - copy of MIME::Words (not for direct use)SYNOPSISMIME::AltWords0 is an auxilary package used by MIME::AltWords.If you want to encode or decode MIME words (such as "=?ISO-8859-2?Q?_=E1ll_e=E1r?=") found in e-mail message headers (mostly Subject, From and To), the recommended Perl module to use is MIME::AltWords. Please don't use MIME::AltWords0 (which is useless by itself anyway) or MIME::Words (version 5.420 has several serious bugs both with encoding and decoding). Most users shouldn't read on, but they should read MIME::AltWords instead. DESCRIPTIONThe following functions have been moved to MIME::AltWords: decode_mimewords() (some code stays here as decode_mimewords_wantarray()),use MIME::AltWords0 qw(:all); ### Split string into array of decoded [DATA,CHARSET] pairs: @decoded = decode_mimewords_wantarray( 'To: =?ISO-8859-1?Q?Keld_J=F8rn_Simonsen?= <keld@dkuug.dk>', ); Fellow Americans, you probably won't know what the hell this module is for. Europeans, Russians, et al, you probably do. ":-)". For example, here's a valid MIME header you might get: From: =?US-ASCII?Q?Keith_Moore?= <moore@cs.utk.edu> To: =?ISO-8859-1?Q?Keld_J=F8rn_Simonsen?= <keld@dkuug.dk> CC: =?ISO-8859-1?Q?Andr=E9_?= Pirard <PIRARD@vm1.ulg.ac.be> Subject: =?ISO-8859-1?B?SWYgeW91IGNhbiByZWFkIHRoaXMgeW8=?= =?ISO-8859-2?B?dSB1bmRlcnN0YW5kIHRoZSBleGFtcGxlLg==?= =?US-ASCII?Q?.._cool!?= The fields basically decode to (sorry, I can only approximate the Latin characters with 7 bit sequences /o and 'e): From: Keith Moore <moore@cs.utk.edu> To: Keld J/orn Simonsen <keld@dkuug.dk> CC: Andr'e Pirard <PIRARD@vm1.ulg.ac.be> Subject: If you can read this you understand the example... cool! PUBLIC INTERFACE
POD ERRORSHey! The above document had some coding errors, which are explained below:
Visit the GSP FreeBSD Man Page Interface. |