--- Bill Moseley wrote:
> > My question is how do I change that "charset" to say "utf-8" instead
> > of the current "ISO-8859-1". I already have "AddDefaultCharset utf-8"
> > in my apache httpd.conf file
> About your other question regarding HTML headers: That headers is
> generated in the template module being used. For the default template
> you should look for a call to $cgi->header.
I'm not sure I follow. How do I change it ? I have my own seach.tt
file in which I have,
[% BLOCK page %]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
[% title || "Welcome" %]
The template I'm using is 'SWISH::TemplateToolkit' and in that file
'/usr/lib/swish-e/perl/SWISH/TemplateToolkit.pm' there is indeed a
"print $cgi->header;" line, but where do I change the contents of
that header variable (I hope it's user settable as well so that I
don't have to fish for it (or remember it) upon package upgrades, etc).
I tried to figure out where it is being set or how to modify it to
BTW: is this discussed anywhere ? I sure hate to take up anyone's
bandwidth if this is documented somewhere.
Do you Yahoo!?
Yahoo! Mail SpamGuard - Read only the mail you want.
Received on Thu Feb 19 12:27:29 2004