Ruby on Rails Wednesday, September 1, 2010

Hello,
I wish to replicate this:
<?php
header('Content-type: text/html; charset=utf-8');
?>
with Rails 3 in each and every view I got. I guess I should look at
application.html.erb to add something.
Not only for avoiding this bug: http://www.ravelrumba.com/blog/ie-8-charset-bug/
but also it makes sense to send the html files generated by my views
with such header.
Can you help me please?
Thanks a lot.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

No comments:

Post a Comment