Php ile Vietnamca karakterleri görüntülemek için çalışılıyor

0 Cevap php

Ben aşağıdaki kod ile Vietnam karakterleri görüntülemek çalıştığınızda:

<?php

$str = "Nghệ thuật cắm hoa vải";

//echo utf8_encode(html_entity_decode(($str)));
echo html_entity_decode($str);

//echo $str;

?>

I get Ngh�? thu�?t c??m hoa va?i as a result. Tried several option but couldn't make it. Any ideas?

0 Cevap