ID: 9749
Updated by: hholzgra
Reported By: [EMAIL PROTECTED]
Old-Status: Feedback
Status: Closed
Bug Type: Strings related
Assigned To:
Comments:
é is 130 in the DOS character set
it works fine in ANSI/ISO8859
Previous Comments:
---------------------------------------------------------------------------
[2001-03-14 11:47:16] [EMAIL PROTECTED]
<?php echo ucwords("céline"); ?> outputs
Céline
on PHP 4.0.5-dev on Win32.
---------------------------------------------------------------------------
[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]