0

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 Answer 1

2

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

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.