Having the same problem, I have done some deep research into the problem and finally figured out what the problem of this very strange behaviour of internet explorer 8 is.
If the page you are rendering is UTF-8, make sure to do the following two things:
- Define the Content-Type meta tag in your HTML header <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- Important: Include the following header in your server response "Content-type: text/html; charset=utf-8". When using PHP set the header using following server side code: header('Content-Type: text/html; charset=utf-8');
The problem is that IE8 behaves very strange when said to render utf-8 in the html meta tag only.
Now the ajax request works as expected in IE8 and all other browsers.
Hope this helps to prevent some serious headaches :-)
Best regards,
Mitja