Displaying 1 result from an estimated 1 matches for "contact_event".
2006 May 09
4
Ajax calls and characters encoding (accents)
Hello, my application controller defines
before_filter :set_charset
def set_charset
@headers["Content-Type"] = "text/html; charset=ISO-8859-1"
end
Everything is fine and accents are rendered correctly in the browser.
However, when I call a controller/action from Ajax (Prototype), the
charset is not taken in account and accents are garbage displayed (''?''