I write in my handler something like :

use HTML::Entities;
...
$r->content_type('text/html;charset=iso-8859-1')
my $txt="Long life to the &curren";
&decode_entities($txt)
$r->print ($txt);
return Apache::OK;

I get in my navigator : "Long life to the ." (where . is a symbol different from euro symbol).

It seems that Entities dont work with modperl2, but I am sure that's the mistake is on my side!
Can somebody tell me the good way of using Entities with mp2.

Thank you.






Reply via email to