Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:24286 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 30072 invoked by uid 1010); 6 Jul 2006 16:17:19 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 30047 invoked from network); 6 Jul 2006 16:17:19 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 6 Jul 2006 16:17:19 -0000 X-PHP-List-Original-Sender: georg@php.net X-Host-Fingerprint: 213.136.52.68 mailgate-out2.mysql.com Linux 2.5 (sometimes 2.4) (4) Received: from ([213.136.52.68:33568] helo=mailgate.mysql.com) by pb1.pair.com (ecelerity 2.1.1.3 r(11751M)) with ESMTP id DA/9B-16663-B873DA44 for ; Thu, 06 Jul 2006 12:17:17 -0400 Received: from localhost (localhost.localdomain [127.0.0.1]) by mailgate.mysql.com (8.13.4/8.13.4) with ESMTP id k66GHBr8024380; Thu, 6 Jul 2006 18:17:11 +0200 Received: from mail.mysql.com ([10.222.1.99]) by localhost (mailgate.mysql.com [10.222.1.98]) (amavisd-new, port 10026) with LMTP id 23630-01; Thu, 6 Jul 2006 18:17:11 +0200 (CEST) Received: from [192.168.0.121] (dslb-088-064-176-201.pools.arcor-ip.net [88.64.176.201]) (authenticated bits=0) by mail.mysql.com (8.13.3/8.13.3) with ESMTP id k66GH1Hw021104 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 6 Jul 2006 18:17:02 +0200 To: Olivier Hill Cc: Antony Dovgal , internals In-Reply-To: References: <44AD307D.6020908@zend.com> Content-Type: text/plain Message-ID: <1152202438.5076.30.camel@lmy002.wdf.sap.corp> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 Date: Thu, 06 Jul 2006 18:13:58 +0200 Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at mailgate.mysql.com Subject: Re: [PHP-DEV] PATCH - Charset in ext/mysql From: georg@php.net (Georg Richter) Am Do, den 06.07.2006 schrieb Olivier Hill um 18:01: > I am aware that this is a bugfix only branch, but for us this was a > bug. We were moving to new servers compiled against MySQL 4.1 libs and > not the bundled ones with PHP. With this move, things got from latin1 > to utf8 and since PHP 4 doesn't really care about Unicode, we had to > come up with this fix. Looking at the comments in the docs on php.net, > we were not the only one with this problem. [1] "Official" MySQL binaries have latin1 character set by default, not utf8. Afaik only gentoo distribution delivers packages with default utf8. /Georg