[Bug 24845] Merge <form> and URL error modes?

https://www.w3.org/Bugs/Public/show_bug.cgi?id=24845

--- Comment #4 from Simon Pieters <simonp@opera.com> ---
There are two cases which currently are handled differently in the spec:

Consider a document (with a http: base URL) with encoding windows-1251 which
includes a link <a href="?&aring;"> and a form <form><input name=x
value="&aring;"></form>. å is not representable in windows-1251. The former is
turned into ?%3F and the latter is turned into ?%26%23229%3B. The proposal is
to make both ?%26%23229%3B.

The proposal matches WebKit/Blink.

IE almost matches the current spec, it just doesn't percent-escape the "?".

Gecko switches to utf-8 for the whole URL and gets ?%C3%A5.

I think the <form> handling is interoperable already.

I think the relevant part of the spec is
http://encoding.spec.whatwg.org/#concept-encoding-process

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Received on Wednesday, 2 April 2014 10:01:20 UTC