Rails 3.0.7 caching font issue

送分小仙女□ 提交于 2019-12-24 18:59:00

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!