Sending Arabic characters via AJAX not working in IE

I am trying to submit a form value from javascript to php using an ajax request that returns the result in XML format.

Everything looks great for me in Mozilla FF, but in IE, when I try to send a value in the Arabic character set (UTF-8), it stops working, although I added the following code to my php:

http://dpaste.com/717863/

This part processes the values ​​passed to php from the script and sets the encoding to UTF-8 ... although Arabic does not work for me in IE, but English works fine.

Can anybody help me?

0
javascript php utf-8
source share
1 answer

Have you added the meta tag?

<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> 
+1
source share

All Articles