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 <[email protected]> wrote:
> bonjour,
> i can't display french é ,ê, or à...
> how do i modify the charset of my app ? thanks
>
> François
>
> _______________________________________________
> Camping-list mailing list
> [email protected]
> http://rubyforge.org/mailman/listinfo/camping-list
_______________________________________________
Camping-list mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/camping-list