- From: L. David Baron <dbaron@dbaron.org>
- Date: Mon, 3 Aug 2009 08:46:06 -0700
- To: www-style@w3.org
On Monday 2009-08-03 16:32 +0100, Phil Archer wrote:
> Please forgive me if this is an old question but is it actually wrong to
> have non-ASCII characters in CSS? i.e., is this invalid:
>
> #fundación {
> background-color:#fff;
> }
>
> I ask because the validator throws it out but it seems a bit harsh!
It's valid. It's probably also a good idea to use an @charset
rule at the *very* beginning of the style sheet. (Could the
validator be complaining because it thinks the style sheet is in a
different encoding than it actually is?)
-David
--
L. David Baron http://dbaron.org/
Mozilla Corporation http://www.mozilla.com/
Received on Monday, 3 August 2009 15:46:44 UTC