1 2 3 4 5 |
$name = utf8_encode($item['name']); //Not good $name = mb_convert_encoding($item['name'], 'UTF-8'); //Not good $name = iconv(mb_detect_encoding($name, mb_detect_order(), true), "UTF-8", $name); //Very good |
1 2 3 4 5 |
$name = utf8_encode($item['name']); //Not good $name = mb_convert_encoding($item['name'], 'UTF-8'); //Not good $name = iconv(mb_detect_encoding($name, mb_detect_order(), true), "UTF-8", $name); //Very good |