Ruby on Rails 3, incompatible character encodings: UTF-8 and ASCII-8BIT with i18n

后端 未结 5 1386
再見小時候
再見小時候 2020-12-02 10:36

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 :

5条回答
  •  庸人自扰
    2020-12-02 11:11

    Are you sure your es.yml file was saved as UTF-8?

    If you're on Windows, use http://notepad-plus-plus.org/ to make sure.

提交回复
热议问题