Re: Bug in Encode::encode('MIME-Q', $iso_8859_1_string)
[email protected] (John Delacour)
| Newsgroups | perl.unicode |
|---|---|
| Message-ID | <p06230920bfcc9715432b@[10.0.0.1]> |
At 3:54 pm +0100 23/11/05, Sven Neuhaus wrote:
>this seems to be a bug:
>
>b)
>perl -MHTML::Entities -MEncode -e '$a="abcÄ";
>print encode("MIME-Q", HTML::Entities::decode($a)), "\n";'
>
>Result:
>=?UTF-8?Q?abc=C4def?=
What about this:
perl -MHTML::Entities -MEncode -e 'use encoding ("iso-8859-1");
$a = "abcÄ"; print encode "MIME-Q", decode_entities $a . $/'
=?UTF-8?Q?abc=C3=84?=
>PS: I'm using perl 5.8.7
Me too, in Mac 10.4.3
JD