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
CC:
To: www-validator-cvs@w3.org
Message-Id: <E1HeTlZ-0002YL-2j@wiggum.w3.org>

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

           Summary: Source Display (errors listing and show source) not
                    transcoded
           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
http://lists.w3.org/Archives/Public/www-validator/2007Apr/0077.html


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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 26 April 2012 12:54:57 GMT