character encoding

Hello!

I have trouble to validate the xhtml-file you can see on the bottom.

The error message is:
"The HTTP Content-Type header sent by your web browser (unknown) did not
contain a "charset" parameter, but the Content-Type was one of the XML
text/* sub-types (text/xml). The relevant specification (RFC 3023)
specifies a strong default of "us-ascii" for such documents so we will use
this value regardless of any encoding you may have indicated elsewhere. If
you would like to use a different encoding, you should arrange to have your
browser send this new encoding information.
Sorry, I am unable to validate this document because on lines 12, 14 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. "


....but I think I have a correct character encoding (iso-8859-1). So what is
the matter?





Greetings from germany


Jürgen Kayser

-------------------------------------------------------------------------------------------------------------------------

<?xml version="1.0" encoding="iso-8859-1"?>
<!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-1"
/>
  <title>Test char-encoding</title>
  <meta name="generator" content="amaya 8.5, see http://www.w3.org/Amaya/"
/>
</head>

<body>
<h1>Español</h1>

<h1>Français</h1>
</body>
</html>

--------------------------------------------------------------------------------------------------------------------------

Received on Friday, 11 June 2004 05:25:33 UTC