W3C home > Mailing lists > Public > whatwg@whatwg.org > February 2009

[whatwg] Editorial for application/x-www-form-urlencoded encoding algorithm

From: Kristof Zelechovski <giecrilj@stegny.2a.pl>
Date: Tue, 17 Feb 2009 23:47:42 +0100
Message-ID: <4781E3485F664E478DFE70797A8536C8@POCZTOWIEC>
Regarding 4.10
<http://www.whatwg.org/specs/web-apps/current-work/multipage/forms.html>
Forms - HTML 5:

Is:

1.      For each character in the entry's name and value that cannot be
expressed using the selected character encoding, replace the character by a
string consisting of a U+0026 AMPERSAND character (&), one of more
characters in the range U+0030 DIGIT ZERO (0) to U+0039 DIGIT NINE (9)
representing the Unicode codepoint of the character in base ten, and finally
a U+003B SEMICOLON character (;). 

Should be:

1.      For each character in the entry's name and value that cannot be
expressed using the selected character encoding, replace the character by a
string consisting of a U+0026 AMPERSAND character (&), U+0023 NUMBER SIGN
character (#), one of more characters in the range U+0030 DIGIT ZERO (0) to
U+0039 DIGIT NINE (9) representing the Unicode codepoint of the character in
base ten, and finally a U+003B SEMICOLON character (;). 

 

Reasons:

1. Internet Explorer sends &#XXXX;

2. The present encoding offers no instant roundtrip.

Besides, it would be easier to say that unsupported characters are converted
to NCRs.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.whatwg.org/pipermail/whatwg-whatwg.org/attachments/20090217/89efec47/attachment.htm>
Received on Tuesday, 17 February 2009 14:47:42 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:09 UTC