• Hi!
    do not use “substr” in PHP. otherwise, the Russian language can cut incorrectly and in the end gets a “question mark”, like this:

    в режиме онла�…

    this: �����

Viewing 1 replies (of 1 total)
  • Thread Starter Den999

    (@den999)

    may be this exampes can help you to understand:

    function maxsite_str_word($text, $counttext = 10, $sep = ' ') {
    	$words = split($sep, $text);
    	if ( count($words) > $counttext )
    		$text = join($sep, array_slice($words, 0, $counttext));
    	return $text;
    }

    [Please post code snippets between backticks or use the code button.]

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: Wizzart – Recent Comments] too small support UTF-8 and cyrilic’ is closed to new replies.