Thanks Fred for all your help Actually I was checking on my local system which was windows based, character was appearing fine. The problem is now solved in the Linux system as well
I need to change some settings in apache httpd.conf configuraiton. It is due to the server not being set to server pages as UT-8 So problem was on server end, not the prototype js. Thanks again Harpreet On Jun 3, 6:08 pm, "Frederick Polgardy" <[EMAIL PROTECTED]> wrote: > That smells to me like your server is talking ISO-8859-1, you have no > charset header in your pages, which makes your browser default to 8859 as > well, and so Prototype is breaking it because it's telling the server it's > sending UTF-8 when it really isn't. If you're saying it works fine without > Prototype, try explicitly suppressing the charset header in Prototype by > putting encoding: null in your options hash to Ajax.Request. > > On Tue, Jun 3, 2008 at 6:51 AM, Harpreet <[EMAIL PROTECTED]> wrote: > > > And Fred when I use the simple AJAX code without using the Prototype > > js, I am getting correct result. > > -- > Science answers questions; philosophy questions answers. --~--~---------~--~----~------------~-------~--~----~ 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 [email protected] 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 -~----------~----~----~----~------~----~------~--~---
