我做多語言的網頁,我使用HTML5和我得到的錯誤,爲什麼我嘗試在W3C驗證:W3C聲明丟失
Line 4, Column 11: No explicit character encoding declaration has been seen yet (assumed utf-8) but the document contains non-ASCII.
<title>Viešbutis Graikijoje</titl…
..however我的頭包含UTF-8字符集:
<!DOCTYPE html>
<html lang="en">
<head>
<title><?php echo $title?></title>
<meta name="robots" content="index, follow" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
我讀其他職位,它說,你需要使用UTF-8字符集,但我使用它。我也試過把
AddType 'text/html; charset=UTF-8' html
..in .htaccess文件,但它不工作。有任何想法嗎?