Encoding issue: is it Rails 2?

Hi,

I recently upgraded from Rails 1.2.6 to Rails 2.0.2 and an application which used to correctly display European characters from an Oracle database (Win-1252) now screws them up.

I previously had to convert from Win-1252 to UTF-8 for generating ODT files (OpenOffice) via Documatic. But I never had to do any conversion just to display the content in my Flex front-end.

Has anything changed in Rails 2, which could have caused this problem?

Thanks,

Chris.

Here's more info : it turns out the working version also runs with Rails 2.0.2... Here are the differences in the Gem environment (in parentheses the non-working version):

actionmailer-2.0.2 actionpack-2.0.2 activerecord-2.0.2 activerecord-oracle-adapter-1.0.0 activeresource-2.0.2 activesupport-2.0.2 archive-tar-minitar-0.5.1 cgi_multipart_eof_fix-2.5.0 color-1.4.0 documatic-0.1.0 fastercsv-1.2.3 fxri-0.3.6 fxruby-1.6.12-mswin32 gem_plugin-0.2.3 hoe-1.3.0 (hoe-1.4.0) hpricot-0.6-mswin32 log4r-1.0.5 mongrel-1.1.2-x86-mswin32 (mongrel-1.1.3-x86-mswin32) pdf-writer-1.1.7 rails-2.0.2 rake-0.7.3 (rake-0.8.1) rubyforge-0.4.4 rubygems-update-1.0.0 (rubygems-update-1.0.1) rubyzip-0.9.1 ruport-1.2.3 (ruport-1.4.0) sources-0.0.1 transaction-simple-1.4.0 win32-api-1.0.4-mswin32 win32-api-1.0.5 (NOT PRESENT) win32-clipboard-0.4.3 win32-dir-0.3.2 win32-eventlog-0.4.6 win32-file-0.5.4 win32-file-stat-1.2.7 win32-process-0.5.3 win32-sapi-0.1.4 win32-sound-0.4.1 windows-api-0.2.0 windows-pr-0.7.2

As you can see, the working version has slightly older gems, but I don't dare update them, because this is my only working version...

Any help will be greatly appreciated. Thanks,

Chris.

This time, I took the risk of upgrading all my Gems in the working environment, one by one. So I now have two identical environments (when it comes to Ruby, Rails, and Gems versions), but one has encoding problems.

Any hint to where my problem may reside would be a great help. Thanks,

Chris.