<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>4474</bug_id>
          
          <creation_ts>2007-04-19 10:21:28 +0000</creation_ts>
          <short_desc>Source Display (errors listing and show source) not transcoded</short_desc>
          <delta_ts>2007-05-18 00:55:23 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Validator</product>
          <component>check</component>
          <version>0.8.0b1</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc>http://www.cs.tut.fi/~jkorpela/test/val.html</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>blocker</bug_severity>
          <target_milestone>0.8.0</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Olivier Thereaux">ot</reporter>
          <assigned_to name="Olivier Thereaux">ot</assigned_to>
          
          
          <qa_contact name="qa-dev tracking">www-validator-cvs</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>14754</commentid>
    <comment_count>0</comment_count>
    <who name="Olivier Thereaux">ot</who>
    <bug_when>2007-04-19 10:21:28 +0000</bug_when>
    <thetext>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 &quot;as is&quot;, even though the source is ISO-8859-1 encoded and the validator&apos;s report page is UTF-8 encoded.

This doesn&apos;t happen in the production version validator.w3.org, which seems to convert the source to UTF-8 before echoing it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>14862</commentid>
    <comment_count>1</comment_count>
    <who name="Olivier Thereaux">ot</who>
    <bug_when>2007-04-24 06:53:03 +0000</bug_when>
    <thetext>Fixed in CVS, testable at:
http://qa-dev.w3.org/wmvs/HEAD/check?uri=http%3A%2F%2Fwww.cs.tut.fi%2F%7Ejkorpela%2Ftest%2Fval.html

</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>15111</commentid>
    <comment_count>2</comment_count>
    <who name="Olivier Thereaux">ot</who>
    <bug_when>2007-05-18 00:55:23 +0000</bug_when>
    <thetext>Looks like my fix in 
http://lists.w3.org/Archives/Public/www-validator-cvs/2007Apr/0159.html
broke more things than it fixed.

I eventually found out about the mistake and fixed in 
http://lists.w3.org/Archives/Public/www-validator-cvs/2007May/0064.html

keeping FIXED.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>