Hi I need some help. I am posting unicode character in the AJAX request. I am writing following code:-
var pars = 'cmd=contact.view&mode=getContactData&name='+encodeURIComponent('moñ'); var myAjax = new Ajax.Request( url, { method: 'post', parameters: pars, onComplete: processFunction }); now here a special character exists i.e ñ. The problem is that when Ajax request is posted, the ñ character automatically get converted to ñ (on server side) which gives some wrong result in my server side function. I am very surprised that how the ñ automatically get converted to ñ. Please help me in this matter Harpreet --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---