PHP 4.0 Bug #9749 Updated: ucwords() problem
| From: | sbergmann@php.net | Date: | Wed, 14 Mar 2001 16:47:17 +0000 |
| Subject: | PHP 4.0 Bug #9749 Updated: ucwords() problem | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-48919@lists.php.net to get a copy of this message | ||
ID: 9749
Updated by: sbergmann
Reported By: jean-rene.auger@rockdetente.com
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] hholzgra@php.net
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] jean-rene.auger@rockdetente.com
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