Question about the urlencoded form data which charset is UTF-16

Hello, my name is Hiroyuki Okamoto.

I have a question about the form data encoded UTF-16.

When an user agent sends a form to the server with the HTTP
get method, it appends the form data set to the URI specified
by the action attribute of the form element.

Then, if the enctype attribute of the form element is the "application/
x-www-form-urlencoded" and the character encoding of the content is
UTF-16 in which all code consists of 2 bytes, should the urlencoded
form data escaped by "%" ?

For example, if the the content is UTF-16 and the name and value
pair of a form data is 'a' and '1', should the urlencoded form data
be '%00%61=%00%21' or 'a=1' ?

Received on Monday, 18 February 2002 07:31:28 UTC