ActiveRecord returns data in ASCII-8Bit Under Ruby 1.9.2-rc1

不想你离开。 提交于 2019-12-05 09:18:57

You probably need the ruby-mysql gem, which is encoding aware in 1.9, instead of the more common mysql gem, which isn't. See my blog for details.

The mysql2 gem should also solve this problem, and is much faster than the ruby-mysql gem.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!