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 V Bonini <[EMAIL PROTECTED]> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php