ID: 9749
Updated by: sbergmann
Reported By: [EMAIL PROTECTED]
Status: Feedback
Bug Type: Strings related
Assigned To:
Comments:
<?php echo ucwords("c�line"); ?> outputs
C�line
on PHP 4.0.5-dev on Win32.
Previous Comments:
---------------------------------------------------------------------------
[2001-03-14 11:33:31] [EMAIL PROTECTED]
can't reproduce this on unix
what kind of character set (and locale settings)
are you using?
in the ISO character set used by Windows and Unix
"�" should be 231 or 232, not 130
the range of 128-160 is undefined in the ISO 8859
character sets and might be treatet as a space
character by windows c-lib so that isspace() which
is used by ucwords returns true?
---------------------------------------------------------------------------
[2001-03-14 11:18:32] [EMAIL PROTECTED]
echo ucwords("c�line");
outputs:
C�Line
but should output:
C�line
The "�" (ascii 130) character is one of many accented characters considered valid
alphabetical lettrs in the French language.
---------------------------------------------------------------------------
ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=9749&edit=2
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]