Saturday, November 5, 2011

Re: [Rails] apostrophes

Quoting Mlle <emstolfo@gmail.com>:
> My database is in utf8 but apostrophes are showing up as ’ in my
> templates. How can I fix this?
>
Are your Web pages (probably in layouts) set to UTF-8? For example, it there
a line like this in the header?

<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />

HTH,
Jeffrey

--
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.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate