File: charset_mismatch-http_xmldec.xhtml.utf8

package info (click to toggle)
w3c-markup-validator 1.3%2Bdfsg-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 5,048 kB
  • sloc: javascript: 3,362; perl: 2,888; xml: 1,331; python: 427; sh: 216; makefile: 75
file content (18 lines) | stat: -rw-r--r-- 531 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
	"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
	<title>ünti†lø∂</title>
	
</head>

<body>
<p>This UTF-8 encoded document (served via HTTP as UTF-8) declares 
  its charset as being iso-8859-1 (in the XML decl). HTTP has precedence
  and the parsing should proceed properly as utf-8, with a warning about 
  the HTTP/XMLdecl charset mismatch.</p>

</body>
</html>