i'm currently trying to run a couple of apps on rails 2.3.2 and Ruby
1.9. Everything seems to work except for these nasty encoding issues a
incompatible character encodings: UTF-8 and ASCII-8BIT
I've searched through lighthouse and found a couple of tickets
addressing those issues but the patches look like they fight the
symptoms and not the real cause of these issues. Also I haven't found
anything that got applied to master or to 2.3.2 addressing this so the
first question is if there is some agreed solution to those or does
nobody have a solution for now?
Its starting really basic. Just created a small empty rails app with a
scaffold controller and a sqlite3 (sqlite3-ruby (1.2.4) db.
Now in script/console, when I create a Post with p =
Post.create :title => "ü" I get:
p.encoding => #<Encoding:ASCII-8BIT>
p.title => "\xC3\xB6"
Where in Ruby 1.8.x I'd get the "ü" back.
It would be also great if you could point me to where I should look at
to see the actual problem.
Kind regards, John