My code is this
db_con =Mysql.new('localhost', 'root', 'root', 'user')
obj = db_con.query("select * from users where id=1 limit 1")
title=obj.fetch_hash["title"]
it gives result but my title is in Russian language e.g(знак ударения, znak udareniya) it gives us
title =???? ????????, znak udareniya
in my db it stored ,знак ударения, znak udareniya
how can i solve this problem please suggest me
rails dbconsoleselect * users where id = 1, does the name show correctly?