From: "John W. Long" Date: 2006-06-03T13:23:30+09:00 Subject: Re: [Mongrel] I want to change the default encoding to utf-8 Ollivier Robert wrote: > Hello, > > I'm using mongrel_rails 0.3.12.4 to start a radiantcms site > (http://radiantcms.org/) and all the pages/snippets/layouts I'm using > are in utf-8. By default, mongrel sends "text/html" as content-type w/o > any indication of charset and browsers thus assume iso-8859-1 (as they > should). > > I've tried to follow the HOWTO at > http://mongrel.rubyforge.org/docs/howto.html but adding a mime.yml with > > --- > .html: text/html; charset=utf-8 > > doesn't seem to work. > > Any idea? Have you tried setting the content type on the layout? -- John Long http://wiseheartdesign.com http://radiantcms.org