Should this: > encoding:windows-1255
be > encoding: 'windows-1255' ? -- T.J. Crowder tj / crowder software / com On Mar 9, 11:58 am, yaniv <[EMAIL PROTECTED]> wrote: > i using ajax request with prototype framework > and some charcater came to my servlet in jibrish > how can i fixed it? > > my code is : > var params = "proposalCode=B&outDate="+outDate > +"&backDate="+backDate...... > new Ajax.Request('calc.jsp', { > method:'post', > onSuccess: getContenetB, > parameters:params, > encoding:windows-1255, > onException:callErrorPage , > onFailure :callErrorPage > } > ); --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---