views:

61

answers:

1

I am using the MySql class in ruby with MySql.real_connect etc. Is there a method to set the mysql charset just like mysql_set_charset in php?

+1  A: 

SET NAMES charset query always works, even in PHP. No need for any special function

Col. Shrapnel
yesi it works. Thanks a lot.
artsince