Hi I am trying to send Hindi अनुयायी characters to my PHP Script. I set request header as ascii, I want that it should store अनुयायी in database.
When I am using form and submit it normally, it stores value अनुयायी in database properly for given word. But when I use jquery $.ajax method to post the data it doesn't store it in above format. When I display encoding of the text from $_REQUEST variable it shows UTF-8 when I submit through $.ajax but it shows ASCII when i submit it using normal submit. Can you please let me know how it can submit data using $.ajax as ASCII?