Re: Error on german character in POST



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/




.



Relevant Pages

  • Re: Fastest way to search a string for the occurance of a word??
    ... > I need to check the request header of every request that is hitting my web ... > server and route traffic accordingly. ... Read or write articles on just about anything ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: xmlhttp post question
    ... Shahriar wrote: ... It is hard to tell what goes wrong, it might be that the problem you see is the not properly encoded request body as you set the request header to indicate a certain content type but your code does nothing to ensure the request body is encoded that way. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Fastest way to search a string for the occurance of a word??
    ... I need to check the request header of every request that is hitting my web ... server and route traffic accordingly. ... Your advice would be ...
    (microsoft.public.dotnet.languages.csharp)
  • Reading request header
    ... How to read Request header using ASP? ... The request is coming from another web application from another server? ... Tapasvi ...
    (microsoft.public.inetserver.asp.general)