W3C home > Mailing lists > Public > www-international@w3.org > July to September 2003

Re: what should the charset be in the response to the server

From: Addison Phillips <aphillips@webmethods.com>
Date: Mon, 21 Jul 2003 11:07:50 -0700
Message-ID: <3F1C2BF6.8020003@webmethods.com>
To: "Sinha, Raj (Raj)" <rajsinha@avaya.com>
CC: www-international@w3.org

Hi Raj,

The browser always sends data back to the server in the charset of the 
page. That is, if the browser thinks the page is UTF-8, it will encode 
its response using UTF-8.

I use the word "thinks" because, of course, the browser must interpret 
the encoding of the page from the HTTP header and any META tag in the 
file. In some cases it must detect the encoding algorithmically. So 
whatever charset the browser ends up interpreting the page using is the 
encoding is uses for a response (either GET or POST).

Hope that helps.

Best Regards,

Addison

-- 

Addison P. Phillips
Director, Globalization Architecture
webMethods, Inc.

Internationalization is an architecture. It is not a feature.

[Chair, W3C-I18N-WG, Web Services Task Force]
http://www.w3.org/International/ws
Received on Monday, 21 July 2003 14:08:11 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 2 June 2009 19:17:00 GMT