The mysql driver is not encoding-aware yet.
Same problem here with mysql and sqlite3.
When will the mysql and sqlite3 drivers be encoding-aware?
Is there a workaround?
I have problems with this because I'm from germany and need utf8 for the
If i save the templates as ANSI, the outputs from database with umlauts
are working, but when i use umlauts directly in the templates i get this
invalid byte sequence for encoding "ASCII-8BIT"
If i save the templates as UTF8, the umlauts in the templates are
working, but the outputs from the database with umlauts cause this
invalid byte sequence for encoding "UTF-8"
I'm using Ruby 1.9.1, Rails 2.3.2, mysql/ruby 2.8.1, sqlite3/ruby 1.2.4
Posted via http://www.ruby-forum.com/.
> It's problem of rails, not mysql library. ActiveRecord should be
> encoding-aware now
Where did you get that information?
Is there any workaround or patch for that problem with ActiveRecord?