You can re-define the #service-method which will be invoked on every
request, and there set the correct charset:

Camping.goes :Nuts

module Nuts
  def service(*)
    @headers['Content-Type'] = 'text/html; charset=utf-8'
    super
  end
end

// Magnus Holm


On Fri, Mar 29, 2013 at 2:58 PM, Francois Sery <sery.franc...@gmail.com> wrote:
> bonjour,
>  i can't display french é ,ê, or à...
>  how do i modify the charset of my app ? thanks
>
> François
>
> _______________________________________________
> Camping-list mailing list
> Camping-list@rubyforge.org
> http://rubyforge.org/mailman/listinfo/camping-list
_______________________________________________
Camping-list mailing list
Camping-list@rubyforge.org
http://rubyforge.org/mailman/listinfo/camping-list

Reply via email to