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 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to