Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:21398 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 59068 invoked by uid 1010); 4 Jan 2006 09:43:07 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 59053 invoked from network); 4 Jan 2006 09:43:07 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 4 Jan 2006 09:43:07 -0000 X-Host-Fingerprint: 129.177.30.12 noralf.uib.no Solaris 9 Received: from ([129.177.30.12:49335] helo=noralf.uib.no) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id 8E/C1-34518-8A89BB34 for ; Wed, 04 Jan 2006 04:43:04 -0500 Received: from alfred.uib.no (smtp.uib.no) [129.177.30.120] by noralf.uib.no with esmtp (Exim 4.34) id 1Eu5AY-0005Bu-83; Wed, 04 Jan 2006 10:43:00 +0100 Received: from tunnel-44-60.vpn.uib.no [129.177.44.60] by smtp.uib.no for internals@lists.php.net with esmtp (Exim 4.34) id 1Eu5AY-0003ZT-00; Wed, 04 Jan 2006 10:42:58 +0100 Reply-To: freejay@freejay.it Organization: ZeroNotice IT Solutions To: internals@lists.php.net Date: Wed, 4 Jan 2006 10:42:44 +0100 User-Agent: KMail/1.9 MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1702823.8ZYUcZhyu9"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-ID: <200601041042.47383.freejay@freejay.it> X-checked-clean: by exiscan on noralf X-Scanner: 3c50666f873b9802026422069cafedb6 http://tjinfo.uib.no/virus.html X-UiB-SpamFlag: NO UIB: -0.4 hits, 8.0 required X-UiB-SpamReport: spamassassin found; -0.4 Did not pass through any untrusted hosts Subject: Default charset From: freejay@freejay.it (Graziano Liberati) --nextPart1702823.8ZYUcZhyu9 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi, I wrote the same mail some days ago in the general list and I asked als= o=20 on the #php IRC channel on Freenode but I didn't find any answer, so I try= =20 here. I need to set the default charset for my application to UTF-8 instead of=20 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 o= k,=20 but I need to set the value only for one application so I've tried to use t= he=20 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= =20 have the same effect of changing the php.ini configuration file, with the=20 ini_set function the default charset of the output is still ISO-8859-1. My system: PHP 5.0.5, Apache 2.0.54. Someone can help me? Regards. =2D-=20 Graziano 'FreeJay' Liberati =2D-------------------------- 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 --nextPart1702823.8ZYUcZhyu9 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) iD8DBQBDu5iXwrli1BP8ELoRAn3eAKCL9kzBETTra3zjEd/1MeNvAbDYUgCeNI+D pAIyilOeHay08TriWdr8rkM= =RQqI -----END PGP SIGNATURE----- --nextPart1702823.8ZYUcZhyu9--