Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:39734 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 1534 invoked from network); 7 Aug 2008 14:17:35 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 7 Aug 2008 14:17:35 -0000 Authentication-Results: pb1.pair.com header.from=ulf.wendel@phpdoc.de; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=ulf.wendel@phpdoc.de; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain phpdoc.de from 212.227.126.188 cause and error) X-PHP-List-Original-Sender: ulf.wendel@phpdoc.de X-Host-Fingerprint: 212.227.126.188 moutng.kundenserver.de Received: from [212.227.126.188] ([212.227.126.188:49641] helo=moutng.kundenserver.de) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 76/53-29324-DF30B984 for ; Thu, 07 Aug 2008 10:17:34 -0400 Received: from [192.168.2.22] (p5B06C9E2.dip.t-dialin.net [91.6.201.226]) by mrelayeu.kundenserver.de (node=mrelayeu5) with ESMTP (Nemesis) id 0ML25U-1KR6Iw308p-0000f7; Thu, 07 Aug 2008 16:17:27 +0200 Message-ID: <489B03FB.9070308@phpdoc.de> Date: Thu, 07 Aug 2008 16:17:31 +0200 User-Agent: Thunderbird 2.0.0.16 (Windows/20080708) MIME-Version: 1.0 To: Stanislav Malyshev CC: 'PHP Internals' References: <4899D1F2.2060101@zend.com> <4899F71D.8010306@phpdoc.de> In-Reply-To: <4899F71D.8010306@phpdoc.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V01U2FsdGVkX1/lXKxJYNfNTGSbteambQa+6DrMeGhslBUzek4 6vAx98itErtHQBVezttx4eyobw/QQgFv1FPh26ltFTEwjIK1o4 x7kH7CFctGYHMwaicARaQ== Subject: Re: [PHP-DEV] mysql_set_charset From: ulf.wendel@phpdoc.de (Ulf Wendel) Ulf Wendel schrieb: > I don't recall why I added "usage not recommended" to the test. Let me > check with Georg. He had some concerns on the function as far as I > remember. I checked with Georg. My memories regarding Georg's position are totally wrong. He once introduced mysql_set_charset to the MySQL Client Library (AKA "libmysql" - marketing gets confused when I use libmysql, sorry). He explained to me that using SET NAMES is what is not recommended when using libmysql because: - there is no verification if the client knows the charset - the internal mysql->charset field will not be set properly I don't know how that "usage not recommended" comment has crept in the test. Probably my fault... Ulf