|
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.
|