I want to put a call to HTML::Entities::encode() into
the <%filter> section of my top autohandler.  However
the output gets garbled, apparently because the input is
taken to be Latin-1 rather than utf8.  Obviously I need
to run Encode::decode on the whole content; I could do this
just before in the <%filter> section but I have a hunch
that it would be better to do it automatically on the
content of each component before Mason ever does anything
with it.  The question is how and where to do this?

I'm running Mason under CGI on a shared server, BTW.

TIA,

/BP


------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Mason-users mailing list
Mason-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mason-users

Reply via email to