W3C home > Mailing lists > Public > www-validator@w3.org > June 2004

character encoding

From: Juergen Kayser <Juergen.Kayser@behrgroup.com>
Date: Fri, 11 Jun 2004 11:22:34 +0200
To: www-validator@w3.org
Message-ID: <OF2E7A73A2.4960700E-ONC1256EB0.0032BB31@notes.behrgroup.com>


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"
<html xmlns="http://www.w3.org/1999/xhtml">
  <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/"



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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:58:41 UTC