W3C home > Mailing lists > Public > www-validator-cvs@w3.org > April 2007

[Bug 4474] Source Display (errors listing and show source) not transcoded

From: <bugzilla@wiggum.w3.org>
Date: Thu, 19 Apr 2007 10:21:29 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1HeTlZ-0002YL-2j@wiggum.w3.org>


           Summary: Source Display (errors listing and show source) not
           Product: Validator
           Version: 0.8.0b1
          Platform: All
               URL: http://www.cs.tut.fi/~jkorpela/test/val.html
        OS/Version: All
            Status: NEW
          Severity: blocker
          Priority: P2
         Component: check
        AssignedTo: ot@w3.org
        ReportedBy: ot@w3.org
         QAContact: www-validator-cvs@w3.org

Reported by Jukka Korpela in

When testing a page in ISO-8859-1 encoding, the echo of a source line in an
error message has the non-ASCII characters replaced by malformed data,
displayed by IE 7 as small rectangles, by Firefox 2 as U+FFFD (a white question
mark in a black lozenge)

Test page: http://www.cs.tut.fi/~jkorpela/test/val.html

The reason is apparently that the beta version echoes the source line "as is",
even though the source is ISO-8859-1 encoded and the validator's report page is
UTF-8 encoded.

This doesn't happen in the production version validator.w3.org, which seems to
convert the source to UTF-8 before echoing it.
Received on Thursday, 19 April 2007 10:21:30 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:17:28 UTC