- From: Lars Noodén <lars.nooden@gmx.com>
- Date: Fri, 2 Sep 2022 15:50:44 +0300
- To: Yves Lafon <ylafon@w3.org>
- Cc: www-validator-css@w3.org
On 9/2/22 15:42, Yves Lafon wrote: [snip] > I note that you are using the validator via upload, in that case the > charset is not defined as it could be, served by a web server. Do you > have a @charset defined? [2] When I try you example via text input, > it is refused as ascii/iso-8859, etc… but if I add the proper > @charset rule, it is processed without any issue. It is not to say > that you MUST always use @charset, especially as it might be inferred > by the way you are serving this, but it might be the reason you have > that issue when using the “by upload” method. > Cheers, > [2] https://developer.mozilla.org/en-US/docs/Web/CSS/@charset Thanks. In this particular case, adding a proper @charset rule avoided the problem with the uploaded stylesheet. Perhaps using UTF-8 for the default and not ISO-8859-x can be considered for the validator? regards, Lars
Received on Friday, 2 September 2022 12:50:59 UTC