Reynolds_ Posted January 2, 2015 Share Posted January 2, 2015 I am trying to make a simple GUI with data queried from a MySQL table. The problem is that accents do not appear properly in the game: This is the line for the sql conncetion: gDbInstance = dbConnect( "mysql", "dbname=xxx;host=localhost", "xyx", "xxyxy", "charset=utf8" ) What can cause the issue and how am I able to resolve it? I have all my tables and fields set to utf8_general_ci. Link to comment
Reynolds_ Posted January 2, 2015 Author Share Posted January 2, 2015 Problem is solved. I looked up the issue on some German/Russian forums and executing dbExec(gDbInstance, "SET NAMES 'utf8';") after connecting seems to have solved my issues. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now