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 24217 - Non-ASCII characters in selectors cause an error message in direct input
Summary: Non-ASCII characters in selectors cause an error message in direct input
Status: NEW
Alias: None
Product: CSSValidator
Classification: Unclassified
Component: text area (show other bugs)
Version: CSS Validator
Hardware: PC Windows NT
: P2 normal
Target Milestone: ---
Assignee: This bug has no owner yet - up for the taking
QA Contact: qa-dev tracking
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-07 09:04 UTC by Jukka K. Korpela
Modified: 2014-01-07 09:04 UTC (History)
0 users

See Also:


Attachments

Description Jukka K. Korpela 2014-01-07 09:04:13 UTC
Example:

.méxico { display: inline }

Submitted via file input (in a file encoded as UTF-8 with BOM), it passes, as expected. When submitted via direct input, the validator reports:

Lexical error at line 1, column 3. Encountered: "?" (63), after : "" .m??xico { display: inline }

Adding @charset "utf-8"; at the start does not help. So apparently the validator cannot read non-Ascii data.

As a minimal fix, please add a remark about this in the Validate by Direct Input user interface.