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

Re: validator beta ignoring form's character encoding on file upload

From: Olivier Thereaux <ot@w3.org>
Date: Tue, 29 May 2007 07:47:37 +0900
To: Edward Welbourne <eddy@chaos.org.uk>
Cc: www-validator@w3.org
Message-ID: <20070528224737.GA21664@w3.mag.keio.ac.jp>

On Mon, May 28, 2007, Edward Welbourne wrote:
> mistakes).  Since my web-site is configured to declare a valid
> content-type (my .htaccess says
> 	AddDefaultCharset ISO-8859-1
> to Apache) via HTTP headers, my web pages don't duplicate this; so I'm
> pleased to see the beta offers to let me specify the content-type (with
> a natty check-box to only do so if not specified by the content).

The validator lets you specify the charset (not all of the content type,
actually), as it has for many years indeed.
 
> However, when I actually exercise this functionality, the validator
> seems to be ignoring it - it still warns me:
> 
>   No Character Encoding Found! Falling back to UTF-8.
 
This issue has been fixed thanks to feedback we got in the beta.
The development version http://qa-dev.w3.org/wmvs/HEAD/ (and the
upcoming beta and release) correctly would output:

[[ No Character Encoding Found! Using  iso-8859-1.
I was not able to extract a character encoding labeling from any of the
valid sources for such information. I will use the character encoding
iso-8859-1, which you have chosen via the Encoding override option, for
tentative validation. ]]

Thank you!
-- 
olivier
Received on Monday, 28 May 2007 22:47:42 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:14:24 GMT