Hello again! I have a controller that does a request :update and send the result from a render :partial to the client. The problem is that the char set is not interpreted ok. I have in my app controller def set_charset if request.xhr? @headers["Content-Type"] = "text/javascript; charset=iso-8859-1" else @headers["Content-Type"] = "text/html; charset=iso-8859-1" end end Bu it seems that the ones that are result of a page.replace_html don''t get treated the same way Thanks -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---