From ee563adc91d6f6c4cce8a37cc90053bfc4000254 Mon Sep 17 00:00:00 2001 From: gustav_delius Date: Fri, 14 Jan 2005 11:53:10 +0000 Subject: [PATCH] added the utf8 languages to the list of exceptions in the function break_up_long_words(). --- lib/weblib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/weblib.php b/lib/weblib.php index 963c7855908..8c6646b1a20 100644 --- a/lib/weblib.php +++ b/lib/weblib.php @@ -357,7 +357,7 @@ function stripslashes_recursive($var) { */ function break_up_long_words($string, $maxsize=20, $cutchar=' ') { - if (in_array(current_language(), array('ja', 'zh_cn', 'zh_tw', 'zh_tw_utf8'))) { // Multibyte languages + if (in_array(current_language(), array('ja', 'ja_utf8', 'kn_utf8', 'sr_utf8', 'vi_utf8', 'zh_cn', 'zh_tw', 'zh_tw_utf8'))) { // Multibyte languages return $string; }