Re: Changing Default Charset

From: Date: Tue, 09 Mar 2004 02:34:38 +0000
Subject: Re: Changing Default Charset
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-179858@lists.php.net to get a copy of this message
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'); ----- Original Message ----- From: "Brian V Bonini" <b-bonini@cox.net> To: "Junaid Saeed Uppal" <uppal@linux.net.pk> Cc: "PHP Lists" <php-general@lists.php.net> Sent: Sunday, March 07, 2004 6:56 AM Subject: Re: [PHP] Changing Default Charset On Sat, 2004-03-06 at 12:19, Junaid Saeed Uppal wrote: > Hello There, > > I am on a shared account server ( virtual hosting ) given by my provider. I > want to change my charset that php uses to utf-8 but the default setting is > some other charset. Can I put some local directives in the directory of my > proggie to force php to use charset( UTF-8 ) instead of the regular charset > defined in php.ini header('Content-type: text/html; charset=UTF-8'); -- Brian V Bonini <b-bonini@cox.net> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.general (#179858) next »