MySql set charset for ruby
I am using the MySql class in ruby with MySql.real_connect etc. Is there a method t开发者_开发知识库o set the mysql charset just like mysql_set_charset in php?
SET NAMES charset
query always works, even in PHP. No need for any special function
精彩评论