gilles wrote:
>
> 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 ¤";
> &decode_entities($txt)
> $r->print ($txt);
> return Apache::OK;
>
> I get in my navigator : "Long life to the ." (where
gilles wrote:
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 ¤";
&decode_entities($txt)
I think you want encode_entities() here :)
HTH
--Geoff
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 ¤";
&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)