As far I understand this article, this related to Rails 3 and MySQL, and how to use UTF8 encoded data everywhere. I don't know about MySQL, but Rails 4 and Ruby 2 with SQLite don't suffer this problem: I didn't have any trouble, processing all kinds of Unicode characters with my application, and processing the uploaded file also works fine, as long I use my (not very elegant) trick to open it a second time with the desired encoding.
It now occurs to me, that the question is maybe not Rails-specific, but a general Ruby question - how to change the encoding of a Tempfile object. -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/1b0696cbf4c499f52bc8de13cd7c3b3d%40ruby-forum.com. For more options, visit https://groups.google.com/d/optout.

