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]

Reply via email to