* Michael Lackhoff [02/11/2009 20:38] :
>
> Thanks for the hint! But isn't it better then to tackle the problem
> right at the root:
> $webapp->query->charset('UTF-8'); # works!

Probably. I've always felt that the most appropriate solution would be
for CGI to default to UTF-8.

> because this would set the header twice, first from CGI.pm to ISO-8859-1
> then from the webapp to UTF-8 (no big deal but still) or are there other
> reasons why header_add is better?

None. When I first came across the problem, the header_add() solution was
the first one Google suggested. Since then, I've never looked back.

Emmanuel


#####  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