Re: [csswg-drafts] URL encoding of CSS values (#9301)

@tabatkins the URL parser will percent-encode the query, so the bytes that go over the network will be limited to the ASCII range. The issue is which encoding to use when percent-encoding the query string (always utf-8, or the encoding of the stylesheet or document). See https://url.spec.whatwg.org/#query-encoding-example

So maybe a bit clearer would be to say that for URLs in CSS, the URL parser's *encoding* argument must be omitted (i.e. use the default, UTF-8). https://url.spec.whatwg.org/#concept-url-parser

-- 
GitHub Notification of comment by zcorpan
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/9301#issuecomment-1780187512 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Wednesday, 25 October 2023 23:20:11 UTC