On Mon, Nov 2, 2009 at 9:27 AM, Michael Peters <[email protected]>wrote:

> > And is there no better way for the template output than to post_process
> > the whole template? Is there no way to get the output of tt_process as
> > UTF-8 so that there is no post_processing necessary?
>
> I have a patched HTML::Template that reads in the templates as UTF8, my
> db connections are all UTF8 and I decode the CGI params as UTF8. As long
> as all your inputs are UTF8 decoded then you don't need to explicitly
> encode the output.
>

Michael, care to share your patch for HTML::Template?

I didn't realize I could get away with not encoding the output if everything
is decoded as UTF-8 coming in... I'll have to try that.

-- Mark R.

#####  CGI::Application community mailing list  ################
##                                                            ##
##  To unsubscribe, or change your message delivery options,  ##
##  visit:  http://www.erlbaum.net/mailman/listinfo/cgiapp    ##
##                                                            ##
##  Web archive:   http://www.erlbaum.net/pipermail/cgiapp/   ##
##  Wiki:          http://cgiapp.erlbaum.net/                 ##
##                                                            ##
################################################################

Reply via email to