utf-8 编码问题

#1 zhw810

我在做教程里的那个留言板的时候 ,main.php文件编码存为utf-8  但是乱码  怎么解决?

2010-05-15 10:18:55

#2 jake

http://speedphp.com/bbs/redirect.php?goto=findpost&ptid=392&pid=1665

2010-05-15 10:22:43

#3 zhw810

问题解决了  在页面里加入 header('Content-Type: text/html; charset=UTF-8');  就可以了

2010-05-15 10:29:28