问题
I have an application running on Rails 3.0.7, thin 1.2.11, and nginx 0.7.65. The main index page for my website has a link to my "résumé", accents included. The page is rendering fine, however, after the initial view, once the page is cached, the text is displayed as "Résumé". I have absolutely no idea why this is happening, what could be causing this?
回答1:
I had the same problem. Was solved by adding this in head
:
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
来源:https://stackoverflow.com/questions/5735793/rails-3-0-7-caching-font-issue