andrei Thu Mar 2 20:40:45 2006 UTC
Modified files:
/php-src/ext/unicode locale.c
Log:
Should use word break iteration instead of title, as title one has been
deprecated since Unicode 3.2>
http://cvs.php.net/viewcvs.cgi/php-src/ext/unicode/locale.c?r1=1.5&r2=1.6&diff_format=u
Index: php-src/ext/unicode/locale.c
diff -u php-src/ext/unicode/locale.c:1.5 php-src/ext/unicode/locale.c:1.6
--- php-src/ext/unicode/locale.c:1.5 Sun Jan 1 13:09:56 2006
+++ php-src/ext/unicode/locale.c Thu Mar 2 20:40:45 2006
@@ -14,7 +14,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: locale.c,v 1.5 2006/01/01 13:09:56 sniper Exp $ */
+/* $Id: locale.c,v 1.6 2006/03/02 20:40:45 andrei Exp $ */
#include "php_unicode.h"
@@ -99,7 +99,7 @@
UBreakIterator *brkiter;
dest_len = *len;
- brkiter = ubrk_open(UBRK_TITLE, locale, *s, *len, &status);
+ brkiter = ubrk_open(UBRK_WORD, locale, *s, *len, &status);
while (1) {
status = U_ZERO_ERROR;
dest = eurealloc(dest, dest_len+1);
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php