change the encode of single.php