clst/activerecord-sqlanywhere-adapter — comment on commit dfad24008b9c67b5c93635f2e4537101b3be04d4
File: lib/active_record/connection_adapters/sqlanywhere_adapter.rb line 586
By scollison:

col_content = col_content.force_encoding(ActiveRecord::Base.configurations[Rails.env]['encoding'] || __ENCODING__.to_s )