Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:39735 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 6249 invoked from network); 7 Aug 2008 14:29:20 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 7 Aug 2008 14:29:20 -0000 Authentication-Results: pb1.pair.com smtp.mail=hannes.magnusson@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=hannes.magnusson@gmail.com; sender-id=pass; domainkeys=bad Received-SPF: pass (pb1.pair.com: domain gmail.com designates 72.14.220.156 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: hannes.magnusson@gmail.com X-Host-Fingerprint: 72.14.220.156 fg-out-1718.google.com Received: from [72.14.220.156] ([72.14.220.156:46141] helo=fg-out-1718.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 96/54-29324-DB60B984 for ; Thu, 07 Aug 2008 10:29:18 -0400 Received: by fg-out-1718.google.com with SMTP id 16so359027fgg.23 for ; Thu, 07 Aug 2008 07:29:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=ezTFQcLiAoBy5YV5rdrmb8VWc67w1BUiu6eTgBvnbJM=; b=Yfw3G83vb0NWvgh3WRY1U50ePO3UlUN0Bu45FAMH18TuLtpGNAwLwuDySYYSO7f9c/ NILv4w09MrFwkW7MCRYxl8h0HWrZEjMn0pmjUPj8ccrgQCl3O6hZKI7bclIuoxCG57nx yBKFIALB2JuVvLoN6Jbrmb3Le7NqBMbo4IV1Y= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=AELwDcpjlqrh7yXNxIHInotZh7G7eaHMsGUewFqiezmIh4u1PiLtgzAXkyUJbub0JI Lngt3CK3gGpokk+bP0eacFpRXBb+lNCnxhRzWv1hz8Ay9myFduCIEv9RcPRFfUDS3psE 1EOkcgDbW4F6SepA7/Ez15skc0uZL7rm2IxuU= Received: by 10.103.246.17 with SMTP id y17mr2324788mur.55.1218119353777; Thu, 07 Aug 2008 07:29:13 -0700 (PDT) Received: by 10.103.248.20 with HTTP; Thu, 7 Aug 2008 07:29:12 -0700 (PDT) Message-ID: <7f3ed2c30808070729w67f2bcd6nd8380724faae8180@mail.gmail.com> Date: Thu, 7 Aug 2008 16:29:12 +0200 To: "Ulf Wendel" Cc: "Stanislav Malyshev" , "PHP Internals" In-Reply-To: <489B03FB.9070308@phpdoc.de> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <4899D1F2.2060101@zend.com> <4899F71D.8010306@phpdoc.de> <489B03FB.9070308@phpdoc.de> Subject: Re: [PHP-DEV] mysql_set_charset From: hannes.magnusson@gmail.com ("Hannes Magnusson") On Thu, Aug 7, 2008 at 16:17, Ulf Wendel wrote: > 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 Is this something we should add to the mysql[i]_set_charset() docs? I've seen *bunch* of people doing mysql[i]_query("SET NAMES UTF8");... -Hannes