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
signature.asc
Description: This is a digitally signed message part