fayez2 Posted July 17, 2008 Share Posted July 17, 2008 Hi, I am using Windows-1256 as a charset in my site. I have implemented an AJAX application that submits and stores information in MYSQL. The problem is that when i try to view the information saved it becomes scrambled and i hve to change the page encoding to UTF-8 to view the text although when i was using the normal submit things were smooth. I tried to put the parameter charset in the script tag for the javascript tag to force it to send the data as Windows1256 but it did not help! Is there any way to make sure that the ajax script passes the data as the charset that I want or maybe there is a php function that will convert the text from its UTF-8 encoding to the encoding i want before displaying? or there could be something else that I can do!? Thanks in advance Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.