Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:4362 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 8544 invoked by uid 1010); 3 Sep 2003 09:04:34 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 8508 invoked from network); 3 Sep 2003 09:04:33 -0000 Received: from unknown (HELO mail.wp-sa.pl) (212.77.102.105) by pb1.pair.com with SMTP; 3 Sep 2003 09:04:33 -0000 Received: from conversion-daemon.mail.wp-sa.pl by mail.wp-sa.pl (iPlanet Messaging Server 5.1 (built May 7 2001)) id <0HKM00101RL9UP@mail.wp-sa.pl> for internals@lists.php.net; Wed, 03 Sep 2003 11:04:33 +0200 (CEST) Received: from wp-sa.pl (it.wp-sa.pl [212.77.105.136]) by mail.wp-sa.pl (iPlanet Messaging Server 5.1 (built May 7 2001)) with ESMTP id <0HKM001MPRVKKR@mail.wp-sa.pl> for internals@lists.php.net; Wed, 03 Sep 2003 11:04:33 +0200 (CEST) Date: Wed, 03 Sep 2003 11:04:32 +0200 To: internals@lists.php.net Message-ID: <3F55AEA0.8040000@wp-sa.pl> MIME-version: 1.0 Content-type: text/plain; format=flowed; charset=us-ascii Content-transfer-encoding: 7BIT X-Accept-Language: pl, en-us, en User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030624 Subject: Locale From: wmeler@wp-sa.pl (Wojtek Meler) I wonder if it is "by design" that PHP don't read all LC_* settings from environment. In main/main.c we read LC_CTYPE only. I think at least LC_COLLATE also should be read. strcoll() behavior relay on this - strings are not properly compared. Maybe we can read all bu LC_NUMERIC settings from environment Regards, Wojtek