> For URLs entered to address bar it seems that UTF-8 is used, not page encoding.
Maybe I'm misunderstanding, but how could a browser use page-encoding before the page has been fetched?
Maybe I'm misunderstanding, but how could a browser use page-encoding before the page has been fetched?
a) URL is entered to the address bar. Default encoding (it seems UTF-8) is used for query and fragment. b) User clicks on a link. Page URL is used; page encoding is already known. c) Redirect to a new URL happens. I can't say out of my head what happens in this case.
You're saying if I click on a link with an IRI in a non-UTF8 html page, it means one thing.
But if I copy and paste that link into a text file, and later paste it into a browser, it'll mean something else entirely? Or if I save it to a bookmark using some service?