On Sat, Mar 21, 2009 at 7:52 AM, ruby.freeman <ruby.free...@gmail.com> wrote:
>
> when I run console with ruby 1.9.1 and rails 2.3.2, and trying to do
> something like
>
> User.first.name.encoding
>
> I'm getting #<Encoding:ASCII-8BIT>, though I've set "encoding: utf8"
> in database.yml
>
> any suggestions?

The mysql driver is not encoding-aware yet.

jeremy

--~--~---------~--~----~------------~-------~--~----~
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 rubyonrails-talk@googlegroups.com
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to