Kod
<?xml version="1.0" encoding="iso-8859-2"?>
<!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">
<head>
<meta http-equiv="Content-type" content="text/html; charset=iso-8859-2" />
<meta http-equiv="Content-Language" content="pl" />
<meta name="Description" content="Zapraszamy na stronę" />
<link rel="stylesheet" type="text/css" href="style.css" />
<?xml-stylesheet type="text/css" href="style.css" ?>
<title>Strona testowa</title>
</head>
<body>
<p>ś, ó, ę, ą, ć, ż, ź, ń,</p>
</body>
</html>
<!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">
<head>
<meta http-equiv="Content-type" content="text/html; charset=iso-8859-2" />
<meta http-equiv="Content-Language" content="pl" />
<meta name="Description" content="Zapraszamy na stronę" />
<link rel="stylesheet" type="text/css" href="style.css" />
<?xml-stylesheet type="text/css" href="style.css" ?>
<title>Strona testowa</title>
</head>
<body>
<p>ś, ó, ę, ą, ć, ż, ź, ń,</p>
</body>
</html>
Po skorzystaniu z tego wspaniałego narzędzia (Validatora) dostałem taki oto komunikat:
Cytat
Sorry, I am unable to validate this document because on lines 7, 13 it contained one or more bytes that I cannot interpret as us-ascii (in other words, the bytes found are not valid values in the specified Character Encoding). Please check both the content of the file and the character encoding indication.
Po usunięciu Polskiej czcionki z tych linijek jest ok. Czy to jest normalna reakcja na Polską czcionkę?