Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:15373 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 55329 invoked by uid 1010); 11 Mar 2005 16:29:24 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 55298 invoked from network); 11 Mar 2005 16:29:23 -0000 Received: from unknown (HELO pb1.pair.com) (127.0.0.1) by localhost with SMTP; 11 Mar 2005 16:29:23 -0000 X-Host-Fingerprint: 211.9.231.193 mgkyb2.nw.wakwak.com FreeBSD 4.6-4.9 Received: from ([211.9.231.193:4380] helo=mgkyb2.nw.wakwak.com) by pb1.pair.com (ecelerity HEAD r(5124)) with SMTP id F1/30-31540-067C1324 for ; Fri, 11 Mar 2005 11:29:21 -0500 Received: from vckyb3.nw.wakwak.com (vckyb3.nw.wakwak.com [211.9.231.144]) by mgkyb2.nw.wakwak.com (8.13.3/8.13.3/2005-01-27) with SMTP id j2BGTH06080978; Sat, 12 Mar 2005 01:29:17 +0900 (JST) (envelope-from moriyoshi@at.wakwak.com) Received: from at.wakwak.com (at.wakwak.com [211.9.230.135]) by vckyb3.nw.wakwak.com (Postfix) with ESMTP id 9F0113FE02; Sat, 12 Mar 2005 01:29:17 +0900 (JST) Received: from [192.168.0.2] (newcycle.as.wakwak.ne.jp [218.225.209.145]) (pbs=ie7hwj) by at.wakwak.com (8.13.3/8.13.3/2005-01-26) with ESMTP/inet id j2BGTHZM074839; Sat, 12 Mar 2005 01:29:17 +0900 (JST) (envelope-from moriyoshi@at.wakwak.com) In-Reply-To: <4231834D.1080900@php.net> References: <264138236.20050311022454@marcus-boerger.de> <75afa5be34f972a3578b781de46c470d@at.wakwak.com> <4231834D.1080900@php.net> Mime-Version: 1.0 (Apple Message framework v619.2) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-ID: Content-Transfer-Encoding: 7bit Cc: Marcus Boerger , Moriyoshi Koizumi , internals@lists.php.net Date: Sat, 12 Mar 2005 01:28:27 +0900 To: rrichards@php.net X-Mailer: Apple Mail (2.619.2) Subject: Re: [PHP-DEV] XML Bug #32001 From: moriyoshi@at.wakwak.com (Moriyoshi Koizumi) On 2005/03/11, at 20:38, Rob Richards wrote: > The test works fine for me under linux. Only difference is on windows > and there its to how windows performs php_strtoupper differently. If > case folding is turned off under windows, the test passes. It looks like the problem is due to the following facts. - php_strtoupper() depends on the locale settings. - toupper() works differently between platforms. Besides it isn't designed to handle multibyte strings like UTF-8. I was mostly testing on Linux so I couldn't replicate it (now verified on Mac OS X). I think case folding option doesn't make any sense if it doesn't work perfectly and we better deprecate it until some unicode-aware case folding function is available. Moriyoshi > > Rob > > Moriyoshi Koizumi wrote: >> On 2005/03/11, at 10:24, Marcus Boerger wrote: >>> Hello moriyoshi or any other XMLer, >>> >>> please verify the --EXPECT-- data in test >>> ext/xml/tests/bug32001.phpt >>> i am quite sure there are several mistakes in it. >> Excuse me if I'm just missing something, what kind of mistake do >> you want to address? >> Moriyoshi > >