PHP 4.0 Bug #9749 Updated: ucwords() problem

From: Date: Wed, 14 Mar 2001 16:33:34 +0000
Subject: PHP 4.0 Bug #9749 Updated: ucwords() problem
Groups: php.dev 
Request: Send a blank email to php-dev+get-48916@lists.php.net to get a copy of this message
ID: 9749 Updated by: hholzgra Reported By: jean-rene.auger@rockdetente.com Old-Status: Open Status: Feedback Bug Type: Strings related Assigned To: Comments: 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? Previous Comments: --------------------------------------------------------------------------- [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

« previous php.dev (#48916) next »