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

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 UTC