<?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>22230</bug_id>
          
          <creation_ts>2013-05-31 20:14:24 +0000</creation_ts>
          <short_desc>Incorrect error wording when forcing character encoding</short_desc>
          <delta_ts>2015-08-23 07:33:31 +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>HEAD</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WONTFIX</resolution>
          
          
          <bug_file_loc>http://www.plam.cantech.bg</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ori Avtalion">ori</reporter>
          <assigned_to name="This bug has no owner yet - up for the taking">dave.null</assigned_to>
          <cc>mike</cc>
    
    <cc>plam</cc>
          
          <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>88527</commentid>
    <comment_count>0</comment_count>
    <who name="Ori Avtalion">ori</who>
    <bug_when>2013-05-31 20:14:24 +0000</bug_when>
    <thetext>When validating a page served with an HTTP header reporting an encoding of &apos;ascii&apos;, and a meta tag reporting an error of &apos;utf-8&apos;, warning W19 is shown:

&gt; The character encoding specified in the HTTP header (ascii) is different
&gt; from the value in the &lt;meta&gt; element (utf-8). I will use the value from the 
&gt; HTTP header (ascii) for this validation. 

This is using the parameter charset=(detect+automatically)

However, if an encoding is forced with the parameter charset=utf-8, the wording of W19 becomes confusing and incorrect:

&gt; The character encoding specified in the HTTP header (ascii) is different from
&gt; the value in the &lt;meta&gt; element (utf-8). I will use the value from the HTTP 
&gt; header (utf-8) for this validation.

The warning manages to report the HTTP header encoding as being both &apos;ascii&apos; and &apos;utf-8&apos;.

The warning assumes that the &apos;used&apos; encoding was determined according to the specification, and not forced by the validator.

I assume W18 and W20 have the same problem.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>122727</commentid>
    <comment_count>1</comment_count>
    <who name="Michael[tm] Smith">mike</who>
    <bug_when>2015-08-23 07:33:31 +0000</bug_when>
    <thetext>Use the current W3C HTML Checker https://validator.w3.org/nu/ instead.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>