Default charset
| From: | Graziano Liberati | Date: | Tue, 27 Dec 2005 17:31:22 +0000 |
| Subject: | Default charset | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-227894@lists.php.net to get a copy of this message | ||
Hi, I need to set the default charset for my application to UTF-8 instead of
the default one of the webserver that is ISO-8859-1.
I've tried to change the value of default_charset in php.ini and all it's ok,
but I need to set the value only for one application so I've tried to use the
ini_set function in this way:
ini_set('default_charset','utf-8');
The problem is that that the ini_set function seems to be ignored, I don't
have the same effect of changing the php.ini configuration file, with the
ini_set function the default charset is still ISO-8859-1.
Someone can help me?
Regards.
--
Graziano 'FreeJay' Liberati
---------------------------
Main developer of ZNF http://znf.zeronotice.com
Contacts
web: http://www.freejay.it
e-mail: freejay@freejay.it
icq: 98659824
msn: freejay@freejay.it
Attachment: [application/pgp-signature]
Attachment: [application/pgp-signature]