Re: cvs: php-src /ext/standard basic_functions.c php_string.h string.c /ext/unicode locale.c php_unicode.h unicode.c
| From: | Andrei Zmievski | Date: | Thu, 23 Mar 2006 01:21:44 +0000 |
| Subject: | Re: cvs: php-src /ext/standard basic_functions.c php_string.h string.c /ext/unicode locale.c php_unicode.h unicode.c | ||
| References: | 1 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-37434@lists.php.net to get a copy of this message | ||
Derick,
What do you think "titlecase" means in non-Unicode world?
-Andrei
On Mar 22, 2006, at 2:20 AM, Derick Rethans wrote:
derick Wed Mar 22 10:20:20 2006 UTC Modified files:/php-src/ext/standard basic_functions.c php_string.h string.c /php-src/ext/unicode locale.c php_unicode.h unicode.cLog: - Moved strtotitle to ext/standard and implemented the fallback case tonon-unicode with ucwords. There is also an implementation for unicode ucwords but that returns different results then strtotitle as it uppercases the first character of every word, and doesn't *titlecase* a word. The test case shows that.<derick-20060322102020.txt> --PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php