Re: Content type & charset header in pearweb
| From: | Pierre-Alain Joye | Date: | Fri, 26 Jul 2002 18:14:12 +0000 |
| Subject: | Re: Content type & charset header in pearweb | ||
| References: | 1 2 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-8032@lists.php.net to get a copy of this message | ||
On Fri, 26 Jul 2002 19:52:46 +0200
Martin Jansen <mail@martin-jansen.de> wrote:
>
> ATM we are sending the charset header in pear-format-html.php.
Which is automaticly included by the auto-prepend.php script ( auto_prepend flag ), and that's
why I cannot send header later in my script, in my case, weeklynews.php.
> If you need another charset than the defaultish one, please call heaer() from
> the script that needs it in order to overwrite the original charset
> (currently being iso-8859-1). You just need to take care that header()
> is called before commonHeader().
I do not have the hand before the headers have been sent, or have I missed something ?
Currently, the needed langage is defined in weeklynews.php.
pa