Utf-8僅適用於在標題中生成的文本,但不適用於(例如)索引中的文本。有沒有人有一個想法如何解決這個問題?UTF-8不在標題外工作
的header.php:
<?php
header('Content-Type: text/html; charset=utf-8');
?>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
</head>
....
例如:的index.php
<?php
include "header.php";
?>
...body stuff
謝謝:)
HTML5使用'' – AlienWebguy 2012-03-19 22:45:24