[eluser]Référencement Google[/eluser]
Hi,
Found a bug in the text_helper, function character_limiter. While returning latin characters, like à I didn't understood why but depending on the string limited lenght, it sometimes return a wrong encoded string (appears some ? in string)
So, changing this line solves the problem:
ORIGINAL
Code:
$str = preg_replace("/\s+/", ' ', preg_replace("/(\r\n|\r|\n)/", ' ', $str));
MODIFIED
Code:
$str = preg_replace("/S+\s+/", ' ', preg_replace("/(\r\n|\r|\n)/", ' ', $str));