> Postgresql v6.3.8.1 works with Ruby 1.9.1p0 and Rails 2.3.2 - my guess
> is the problem is with either the driver or the database itself.

Problem is not with database. As I said above, when I do something
like User.first.name.encoding I'm getting #<Encoding:ASCII-8BIT>.
If I do this one - User.first.name.force_encoding("utf-8") - I'm
getting normal utf-8 string. The problem is that ActiveRecord gets all
data from database as ASCII.
--~--~---------~--~----~------------~-------~--~----~
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