Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:24284 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 15386 invoked by uid 1010); 6 Jul 2006 15:47:19 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 15370 invoked from network); 6 Jul 2006 15:47:18 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 6 Jul 2006 15:47:18 -0000 X-PHP-List-Original-Sender: antony@zend.com X-Host-Fingerprint: 80.74.107.235 mail.zend.com Linux 2.5 (sometimes 2.4) (4) Received: from ([80.74.107.235:48518] helo=mail.zend.com) by pb1.pair.com (ecelerity 2.1.1.3 r(11751M)) with ESMTP id 3C/9A-16663-4803DA44 for ; Thu, 06 Jul 2006 11:47:18 -0400 Received: (qmail 14261 invoked from network); 6 Jul 2006 15:46:26 -0000 Received: from internal.zend.office (HELO ?127.0.0.1?) (10.1.1.1) by internal.zend.office with SMTP; 6 Jul 2006 15:46:26 -0000 Message-ID: <44AD307D.6020908@zend.com> Date: Thu, 06 Jul 2006 19:47:09 +0400 User-Agent: Thunderbird 1.5.0.4 (X11/20060516) MIME-Version: 1.0 To: Olivier Hill CC: internals References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] PATCH - Charset in ext/mysql From: antony@zend.com (Antony Dovgal) On 06.07.2006 19:36, Olivier Hill wrote: > Hello internals, > > Attached is a patch against PHP_4_4 allowing to specify a charset when > talking to MySQL using ext/mysql and client libraries that come with > MySQL >= 4.1.13 (the default being utf8). > > This was mainly tested with latin1. To test, add an ini entry like this: > > mysql.default_charset = "latin1" > > Any constructive comments on the patch would be appreciated. IIRC such patch has been already discussed and rejected. Also, PHP 4.x is bugfix branch and NO new features will be added there. In 5.x there is ext/mysqli, which have much more functionality than ext/mysql and you should be using it instead. -- Wbr, Antony Dovgal