Bug #18556 [Com]: Setting locale to 'tr_TR' lowercases class names

From: Date: Sun, 13 Jun 2010 17:11:24 +0000
Subject: Bug #18556 [Com]: Setting locale to 'tr_TR' lowercases class names
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-151445@lists.php.net to get a copy of this message
Edit report at http://bugs.php.net/bug.php?id=18556&edit=1

 ID:               18556
 Comment by:       ceremcem at cshus dot org
 Reported by:      spud at nothingness dot org
 Summary:          Setting locale to 'tr_TR' lowercases class names
 Status:           Assigned
 Type:             Bug
 Package:          Scripting Engine problem
 Operating System: Linux (RedHat 7.2)
 PHP Version:      5CVS, 4CVS (2005-10-04)
 Assigned To:      dmitry

 New Comment:

This bug still exists in PHP version 5.3.2.


Previous Comments:
------------------------------------------------------------------------
[2010-02-02 21:31:15] housecafe at freenet dot de

Dear php-team,

I´ve seen that 5.2.13RC1 is in progress. Could you fix this bug in this
version, please ?
Because I need turkish locale.

Thanks in advance.

------------------------------------------------------------------------
[2010-01-22 09:00:27] pajoye@php.net

Dmitry, can you look at it please? It is still reproduceable with 5.2
and 5.3.

------------------------------------------------------------------------
[2009-11-13 16:58:15] joesiegrist at gmail dot com

It is unbelievable that this bug persists into 2009.  It is time to fix

it.

------------------------------------------------------------------------
[2009-08-04 11:23:15] cankoy at ymail dot com

Setting LC_CTYPE to something other than tr_TR solves nothing, it's not
even a workaround, you just get a bastardized locale in which regex
patterns do not match Turkish char.s and XXlower/XXupper functions
become nothing but a joke.
This bug has been around for ages, so it's not fixable? OK, don't fix
it, but at least provide a means to turn off(*) the horrible PHP design
decision "case-insensitive function lookup", so that we have an option
to avoid all this mess.

(*)like, a Php.ini directive

------------------------------------------------------------------------
[2009-07-30 17:21:41] onur dot oguzel at gmail dot com

i guess nobody looks at this bug, 
setlocale(LC_ALL, 'tr_TR');
setlocale(LC_CTYPE, 'en_US');

sure solves this but it is still a bug :)

------------------------------------------------------------------------


The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at

    http://bugs.php.net/bug.php?id=18556


-- 
Edit this bug report at http://bugs.php.net/bug.php?id=18556&edit=1


Thread (68 messages)

« previous php.bugs (#151445) next »