Php include function mess char encoding
i have开发者_高级运维 a file teste.php with
<?php
echo "descrição";
?>
When i call this teste.php directly, it prints everything ok,
but when a call another file that include('teste.php') it prints unrecognized characters. it seems to me that include function mess up with char enconding. isn't it? Can someone help me!!
Set both files to UTF-8 encoding to solve the issue.
精彩评论