Re: Error on german character in POST
- From: "José Enrique Aguado Gijón" <jeaguado@xxxxxxxxxxxxxxx>
- Date: Mon, 21 Jul 2008 20:08:28 +0200
Sorry for not answering before. I go out from work at 15:00. Now I'm in
home.
Then do you think there is something I can do to receive well this
characters?
"Martin Honnen" <mahotrash@xxxxxxxx> escribió en el mensaje
news:OV75mcz6IHA.1200@xxxxxxxxxxxxxxxxxxxxxxx
Jose Enrique wrote:
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') ?
You can't as far as I know, you have to make the server send the charset
parameter.
I have use
http_request.setRequestHeader("Content-type",
"application/x-www-form-urlencoded; charset=ISO-8859-2");
but it doesn't work.
That sets the request header to tell the server how your _request body_ is
encoded, it does not help for decoding the _response body_.
--
Martin Honnen --- MVP XML
http://JavaScript.FAQTs.com/
.
- Follow-Ups:
- Re: Error on german character in POST
- From: Anthony Jones
- Re: Error on german character in POST
- From: Martin Honnen
- Re: Error on german character in POST
- References:
- Error on german character in POST
- From: Jose Enrique
- Re: Error on german character in POST
- From: Martin Honnen
- Re: Error on german character in POST
- From: Jose Enrique
- Re: Error on german character in POST
- From: Martin Honnen
- Re: Error on german character in POST
- From: Jose Enrique
- Re: Error on german character in POST
- From: Martin Honnen
- Error on german character in POST
- Prev by Date: Re: Error on german character in POST
- Next by Date: image click to innerHTML
- Previous by thread: Re: Error on german character in POST
- Next by thread: Re: Error on german character in POST
- Index(es):
Relevant Pages
|