W3C home > Mailing lists > Public > www-html@w3.org > February 2002

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

From: Hiroyuki Okamoto - 岡本 浩之 <hokamoto@mse.mei.co.jp>
Date: Mon, 18 Feb 2002 21:33:51 +0900
Message-ID: <3C70F4AF.9030603@mse.mei.co.jp>
To: www-html@w3.org
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

This archive was generated by hypermail 2.3.1 : Sunday, 15 July 2018 06:07:48 UTC