开发者

MySql set charset for ruby

开发者 https://www.devze.com 2022-12-29 08:20 出处:网络
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, eve

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

0

精彩评论

暂无评论...
验证码 换一张
取 消