462 Câu hỏi
490 Trả lời
28 Bình luận
15.8k Thành viên
<?php /* Entity crap. / $input = "Fovič"; $output = preg_replace_callback("/(&#[0-9]+;)/", function($m) { return mb_convert_encoding($m[1], "UTF-8", "HTML-ENTITIES"); }, $input); /* Plain UTF-8. */ echo $output; ?>