If a web page has,
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
…
</head>
but the http header has
Content-Type text/html; charset=UTF-8
Then what encoding is assumed?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
In HTML5 the priority is defined as:
<meta http-equiv="Content-Type">or<meta charset>depending on attribute order.See http://www.w3.org/html/wg/drafts/html/master/syntax.html#determining-the-character-encoding for the gory details.