ID:               19836
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
-Status:           Open
+Status:           Analyzed
 Bug Type:         Strings related
 Operating System: AIX 4.3.3
 PHP Version:      4CVS-2002-10-09
 New Comment:

The PHP setlocale() function only returns what the System setlocale()
function returns.


Previous Comments:
------------------------------------------------------------------------

[2002-10-09 14:46:49] [EMAIL PROTECTED]

On AIX setlocale(LC_ALL, locale) returns a space separated list of the
locales in effect, instead of a '/'. A little test program explains:

$ ./o
setlocale LC_ALL, "C" returns <C C C C C C>
setlocale LC_CTYPE, "en_US" returns <en_US>
setlocale LC_ALL, NULL returns <C en_US C C C C>

I've taken a look at ext/standard/string.c but can't figure out
how/where
the string is turned into just one character.
This affects (among other things) ext/ctype/tests/002.phpt

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


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

Reply via email to