Closed orthagh closed 10 years ago
When solution (only with solution items) contains caracters dec; (ex :è for é). hmtl_entity_decode replace them by utf8 ? char
fast correction :
$ticket->fields['solution'] = preg_replace_callback("/(&#[0-9]+;)/", function($m) { return mb_convert_encoding($m[1], "UTF-8", "HTML-ENTITIES"); }, $ticket->fields['solution']);
When solution (only with solution items) contains caracters dec; (ex :è for é). hmtl_entity_decode replace them by utf8 ? char
fast correction :