On Jul 29, 10:08 am, johnny <[email protected]> wrote: > I'm reading "Dive into html5" and > inhttp://diveintohtml5.org/semantics.html#encoding > , it says every page should contain <meta charset="utf-8" />, > otherwise it's subject to security vulnerabilities (http:// > code.google.com/p/doctype/wiki/ArticleUtf7). I don't see <meta > charset="utf-8" /> being generated in my application.html.erb (in > rails3) Is there a reason behind this?
because rails sets the content-type header (which, as the article you linked to notes, is the preferred mechanism for this) Fred -- 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 [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

