Using ajax: Encoding error in ajax request to rails application on newest questions tagged ajax – Stack Overflow

I am working on an application in which i have a situation to send text data to backend through Ajax call.

But when the text “%” occurs in the text to be sent through ajax, i get the below response from my rails app

Internal Server Error
invalid %-encoding

i tried adding escape characters infrot of % symbol, but its not useful.

Any suggestion on this issue would be helpful.

thanks,
Balan

See Answers


source: http://stackoverflow.com/questions/11736482/encoding-error-in-ajax-request-to-rails-application
Using ajax: using-ajax



online applications demo