Forum: Rails I18n Using ñ on rails 3

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
133113531b1f658b0b75d4cb3a2a6cfa?d=identicon&s=25 Tomas R. (josetomas_r)
on 2011-07-03 19:07
my es.yml looks like this

        password: "contraseña"

but when loading on my browser I get

invalid byte sequence in UTF-8
Extracted source (around line #12):

9:     <%= f.text_field :email %>
10:   </p>
11:   <p>
12:     <%= f.label :password %><br />
13:     <%= f.password_field :password %>
14:   </p>
15:   <p>

how can I get that to work
Eebac52c667e6d19c9e98b2a7ae55685?d=identicon&s=25 Julio B. (julio_b)
on 2011-09-13 23:10
just put
#coding: utf-8
at the very first line of your file
This topic is locked and can not be replied to.