[Bug 2690] Direct Input always parses with UTF-8 encoding no matter what

http://www.w3.org/Bugs/Public/show_bug.cgi?id=2690

           Summary: Direct Input always parses with UTF-8 encoding no matter
                    what
           Product: Validator
           Version: 0.7.1
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: Usability
          Severity: normal
          Priority: P2
         Component: Parser
        AssignedTo: link@pobox.com
        ReportedBy: Dominik@Jungowski.de
         QAContact: www-validator-cvs@w3.org


This is a bug I noticed since the 0.7.1 Release of the Validator:
I use Firefox together with Web Developer. When I hit Tools -> Validate Local
HTML I get the error:

"Sorry, I am unable to validate this document because on line 440  it contained
one or more bytes that I cannot interpret as utf-8  (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."

When copying the source and validating manually the validation works but in both
cases the validator says "Encoding:	utf-8" although I have defined ISO-8859-1 in
the XHTML Header. When uploading the file and parsing it by URL the validator
detects the document correctly as iso-8859-1.

This is pretty annoying since I cannot use the Web Developer feature anymore for
local files and have to manually validate them by direct input.

Received on Tuesday, 10 January 2006 13:15:33 UTC