From 20301a153f8dca14c953a833f00bc5398784368e Mon Sep 17 00:00:00 2001 From: Andrei Zmievski Date: Thu, 2 Mar 2006 20:40:45 +0000 Subject: [PATCH] Should use word break iteration instead of title, as title one has been deprecated since Unicode 3.2> --- ext/unicode/locale.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/unicode/locale.c b/ext/unicode/locale.c index c85bd1406d..967a64e363 100644 --- a/ext/unicode/locale.c +++ b/ext/unicode/locale.c @@ -99,7 +99,7 @@ PHPAPI UChar* php_u_strtotitle(UChar **s, int32_t *len, const char* locale) 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); -- 2.40.0