juretta.com

Setting the charset in a Rails App

May 26, 2005
Tags: Dropbox Rails
before-filter in application.rb:
before_filter :set_charset
def set_charset
    @headers["Content-Type"] = "text/html; charset=ISO-8859-15" 
end

About

This is the defunct blog of Stefan Saasen.