Forum: Rails I18n nb-NO.yml: å turns into �

Posted by Tony Maserati (abletony84)
on 2010-06-08 12:14
(Received via mailing list)
Hello,

is there any way I can use letters like æ, ø and å in my yml without
changing them to æ ø and å in order to avoid them 
showing
up as � and so on? Maybe there are some helpers out there or something?

Much obliged,
Tony
Posted by Henrik --- (malesca)
on 2010-06-08 12:29
(Received via mailing list)
On Tue, Jun 8, 2010 at 12:13, Tony Maserati <abletony84@gmail.com> 
wrote:
> Hello,
>
> is there any way I can use letters like æ, ø and å in my yml without
> changing them to &aelig; &oslash; and &aring; in order to avoid them showing
> up as � and so on? Maybe there are some helpers out there or something?

This is a matter of the browser encoding. If you use UTF-8 in your yml
files, put

  <meta content="text/html; charset=utf-8" http-equiv="Content-Type" />

in your <head>.
Posted by Tony Maserati (abletony84)
on 2010-06-08 13:40
(Received via mailing list)
Thanks a lot man. I think I might as well go for &aring; though to avoid
conflicts, especially in cases where I'm not able to set my own <head>.

Have a great day!
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.