Hi,

I have an HTML page that is UTF-8 encoded.

Code:
<meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
I am using Ext.Ajax.request to asynchronously submit to the server. However, my requirement is that the encoding should not be sent for certain submissions.

I tried using the following but to no avail:
Code:
headers: {'Content-Type':'text/html; charset=ISO-8859-1'}
and

Code:
Ext.Ajax.defaultHeaders = {'Content-Type':'text/html; charset=ISO-8859-1'}
Both of the above cause the rest of the parameters to be wiped out (the server does not receive the rest of the parameters that I send in the call to Ext.Ajax.request in the params config option).

How can I set the character encoding to something other than UTF-8 in my calls to Ext.Ajax.request()?


Thanks.