Re: Changing Default Charset
| From: | Brian V Bonini | Date: | Tue, 09 Mar 2004 14:35:20 +0000 |
| Subject: | Re: Changing Default Charset | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-179894@lists.php.net to get a copy of this message | ||
On Mon, 2004-03-08 at 21:34, Span wrote:
> I think it can't work if the server has set the default_charset in the
> php.ini .
>
> eg:
> if in php.ini has:
> default_charset="gb_2312"
> then only changing the charset in html page didn't work.
> >>header('Content-type: text/html; charset=UTF-8');
Are you sure? I've not actually tried it but php.ini also has a default
Content-type which you CAN override using header().
--
Brian GnuPG -> KeyID: 0x04A4F0DC | URL: www.gfx-design.com/keys
Key Server: pgp.mit.edu
======================================================================
gpg --keyserver pgp.mit.edu --recv-keys 04A4F0DC
GnuPG: http://gnupg.org
http://www.biglumber.com/x/web?qs=0x2C35011004A4F0DC
Linux Registered User #339825 at http://counter.li.org
Attachment: [application/pgp-signature] This is a digitally signed message part signature.asc
Attachment: [application/pgp-signature] This is a digitally signed message part signature.asc