Rails page caching appends strange symbol -
when enabled page caching in rails, noticed unusual character Â
appended symbols ©
, «
, »
.
for example
© company 2013
becomes
© company 2013
and also
« => « » => »
i have no thought why happening. suggestions how can solved?
rails 3.2.11 ruby 1.9.3p194 web-server: webrick 1.3.1 os ubuntu 12.10
there might confuse encodings.
try add together meta header utf-8 charset application right after opening head tag:
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
ruby-on-rails ruby-on-rails-3 caching
No comments:
Post a Comment