Re: Error on german character in POST



I think the charset is ISO-8859-2 because the code works well in firexfox
but it doesn't work in IE6.

How I can make somethig similar to

http_request.overrideMimeType('text/plain; charset=ISO-8859-2') ?

I have use

http_request.setRequestHeader("Content-type",
"application/x-www-form-urlencoded; charset=ISO-8859-2");

but it doesn't work.


"Martin Honnen" <mahotrash@xxxxxxxx> escribió en el mensaje
news:OAmUOGz6IHA.2260@xxxxxxxxxxxxxxxxxxxxxxx
Jose Enrique wrote:
Only fail in IE

There is not much you can do. The server needs to send the HTTP
Content-Type header with a charset parameter e.g.
Content-Type: text/plain; charset=ISO-8859-1
so that the receiving code is able to properly decode the response body.
If there is no charset parameter then MSXML used by IE assumes UTF-8.



--

Martin Honnen --- MVP XML
http://JavaScript.FAQTs.com/


.


Loading