I'm having problems encoding URI. I have a page in which I use
XMLHttpRequest
to send a request. In my request it is possible to have Central European
characters.
When i send the request through mozilla, the URL is encoded (the character Z
in to %AE)
my problem is that IE dose not encode the character, it tourns it into ?,
and if I use the
javascript encodeURI for the same Character (Z) i get %C5%BD,
i have set the header to "Content-Type",
"application/x-www-form-urlencoded;8859-2"
and my page is saved in 8859-2.
So how can i make IE encode or even the javascript encodeURI function to
encode like Mozilla?