Re: charset for french words
You need this https://github.com/m-ryan/magic_encoding and probably this https://github.com/whitequark/rack-utf8_sanitizer You will also need to give extra attention to your templates, different templating engines respond differently to the encoding pragma. On 29 mrt. 2013, at 14:58, Francois Sery wrote: > bonjour, > i can't display french é ,ê, or à... > how do i modify the charset of my app ? thanks -- Julik Tarkhanov m...@julik.nl ___ Camping-list mailing list Camping-list@rubyforge.org http://rubyforge.org/mailman/listinfo/camping-list
Re: charset for french words
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 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
charset for french words
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