Character Encoding mismatch!
Salutations,
Bien que j'ais corrigé le problème (J'ai remplacé iso-8859-1 par utf-8), je ne comprends pas la raison de ce "warning" lorsque j'ai validé cette page sur W3C.
le Doctype était:
Code:
1 2 3 4 5
| <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="fr" xml:lang="en">
<head>
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> |
et le message concernant le "warning" était:
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13
| This document was successfully checked as XHTML 1.0 Strict!
Result: Passed, 1 warning(s)
File:
Encoding: utf-8
Doctype: XHTML 1.0 Strict
Root Element: html .....
Notes and Potential Issues...yada yada...
Character Encoding mismatch!
The character encoding specified in the HTTP header (utf-8) is different from the value in the <meta> element (iso-8859-1). I will use the value from the HTTP header (utf-8) for this validation.
Congratulations
The uploaded document "internet-anti.php" was successfully checked as XHTML 1.0 Strict |
Quelqu'un a-t-il une explication??
Merci,