阅读背景:

Ruby on Rails—来自ActiveRecord的MySQL中的UTF8编码问题

来源:互联网 

I have a webapp using Ruby 1.9 and Rails 4. In my local VM (ubuntu), everything's ok. My DB and tables are using utf8_unicode_ci, and data are well saved into the tables and well printed on webapp pages. My problem is on my production server (EB on AWS). I'm using MySQL and my database was in swedish format, so I converted it to UTF8 with the following command:I have a webapp using Ruby 1.9 and Rails 4. In




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: