I think it's more a question of how the data is stored in the
database.
In my layout i have:
<meta http-equiv="content-type" content="text/html;charset=UTF-8" />
and in application.rb:
config.encoding = "utf-8"

:-) j

On 30 Juli, 20:15, Frederick Cheung <[email protected]>
wrote:
> On Jul 30, 7:00 pm, jeb <[email protected]> wrote:
>
> > When using the mysql2 gem with my excising databases all non-standard
> > chars gets messed up:
>
> > från is shown as frÃ¥n in the browser
>
> > Is this possible to fix or do I have to continue using the old mysql-
> > gem?
>
> IIRC mysql2 forces use of utf8. If you're elsewhere telling the
> browser that you're using a different character set then you'd get
> unwanted results.
>
> Fred

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to