I\'ve got some troubles with the couple Rails 3.0.1, Ruby 1.9.2 and my website localization.
The problem is quite simple, i\'ve got something like that in a view :>
I solved most of the problems by combining many solutions:
application.rb
has this line: config.encoding = "utf-8"
.# encoding: utf-8
at the top of any file containing utf-8 characters.Add the following two lines above the
line in environment.rb
:
Encoding.default_external = Encoding::UTF_8
Encoding.default_internal = Encoding::UTF_8
http://rorguide.blogspot.com/2011/06/incompatible-character-encodings-ascii.html