Re: Document encoding or undefined...

> I'm getting a document encoding error in the log file under NT and Solaris
> 8 with all the pages at http://www.jeffr.net/.
> 
> I added this line to my index.html as a test:
> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
> 
> It doesn't seem to make a difference. The HTML and CSS validate OK, so I 
> wonder what's going on?

It works if you add it in the xml declaration:
<?xml version="1.0" encoding="iso-8859-1"?>

The encoding must be known before starting the parsing. It's why 
Amaya says that there is no defined encoding when the information is given by a
tag META.
We're now adding code that looks for meta elements to get the encoding before
starting the parsing.
In the next release your declaration:
<meta http-equiv="Content-Type" content="text/html; charset="iso-8859-1" />
should work
-- 
     Irene.

Received on Monday, 13 November 2000 10:12:32 UTC