[Mongrel] How to change the default encoding for dynamic pages

Frederic Do Couto fredsubs at gmail.com
Tue Apr 17 14:52:39 EDT 2007


Hello,

I'm trying to write a rails application serves by mongrel and using
accentuated characters in the .rhtml page. But Mongrel replace them by '?' .

It works fine for static pages by defining the charset to iso-8859-1 in the
mongrel_mime.yml

But how to change the default encoding (seems to be UTF-8) for the dynamic
pages ?

thanks for your help.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/mongrel-users/attachments/20070417/fd6be7fc/attachment-0001.html 


More information about the Mongrel-users mailing list