Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Webページにある場合、
<head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> … </head>
しかし、httpヘッダーには
Content-Type text/html; charset=UTF-8
では、どのようなエンコーディングが想定されていますか?
HTML5では、優先度は次のように定義されています。
<meta http-equiv="Content-Type">
<meta charset>
残酷な詳細については、 http://www.w3.org/html/wg/drafts/html/master/syntax.html#determining-the-character-encodingを参照してください。