Click here to get back home

MIME::EncWords charset param

 HomeNewsGroups | Search | About
 comp.lang.perl.modules    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
MIME::EncWords charset param Mags 02-20-2007
Posted by Mags on February 20, 2007, 7:03 pm
Please log in for more thread options


hi,

I'm having difficulty getting MIME::EncWords to ouput an encoded,
single-byte value; it always seems to ouput the double-byte (unicode)
value rather than the iso value, for example :

$encoded = encode_mimewords ( "á", Encoding=>"Q", Charset=>"ISO-8859-1");

$encoded has value : =?ISO-8859-1?Q?=C3=A1?=

... shouldn't this be : =?ISO-8859-1?Q?=E1?=
?


If instead :
$encoded = encode_mimewords ( "á", Encoding=>"Q", Charset=>"UTF-8");

...I would then expect $encoded to have the value =?UTF-8?Q?=C3=A1?=
(which it does).


Am i mis-interpreting something?
I've just downloaded a lot of the pre-requisite MIME modules, so they
should be the most recent versions.

tia,
mags.


Similar ThreadsPosted
CGI param persists when used with FastCGI October 6, 2005, 2:09 pm
referencing a param and $self in an OO subroutine March 20, 2007, 11:03 am
MIME::Types 1.16 and OpenDocument November 9, 2005, 7:48 am
How to log the output of Mime::Lite ? June 26, 2006, 6:52 pm
Perl Module for S/MIME October 19, 2006, 1:58 am
Perl Module for S/MIME October 19, 2006, 1:59 am
MIME::Base64 bugs? June 5, 2007, 4:21 am
Perl Mime::Lite question. Help please? August 24, 2004, 8:45 am
MIME::Lite need sendmail Queue ID November 16, 2006, 9:34 am
Composing MIME-compliant mail messages July 8, 2004, 4:08 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap