Re: mp2: Pb using HTML::Entities

2002-11-25 Thread Steve Piner
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

Re: mp2: Pb using HTML::Entities

2002-11-25 Thread Geoffrey Young
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

mp2: Pb using HTML::Entities

2002-11-25 Thread gilles
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)