开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜