This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 755 - Fatal errors are always declared to be us-ascii
Summary: Fatal errors are always declared to be us-ascii
Status: RESOLVED FIXED
Alias: None
Product: CSSValidator
Classification: Unclassified
Component: Other (show other bugs)
Version: CSS Validator
Hardware: Other other
: P2 normal
Target Milestone: ---
Assignee: Olivier Thereaux
QA Contact: qa-dev tracking
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-28 22:26 UTC by Bj
Modified: 2005-08-26 14:41 UTC (History)
0 users

See Also:


Attachments

Description Bj 2004-05-28 22:26:12 UTC
Fatal errors like

  % HEAD -H "Accept-Language: de" \
     http://jigsaw.w3.org/css-validator/validator

  Cache-Control: no-cache
  Connection: close
  Date: Sat, 29 May 2004 02:20:57 GMT
  Pragma: no-cache
  Server: Jigsaw/2.2.2 W3C_CSS_Validator_JFouffa/2.0
  Content-Language: en
  Content-Length: 918
  Content-Type: text/html; charset=us-ascii
  ...

always declare us-ascii encoding even though localized error messages as the 
Validator would use in this example might not be us-ascii encoded. It might be 
possible to extract the proper charset from the property files, but that does 
not work currently, see Bug #162. It might be best to switch to UTF-8 for all 
output.

The responsible code here is org.w3c.css.servlet.CssValidator.handleError().
Comment 1 Yves Lafon 2005-08-26 14:41:10 UTC
Fixed, see http://qa-dev.w3.org:8001/css-validator/