Home » Developing U++ » U++ TheIDE and Library: Releases and ChangeLogs » Fixed MySQL encoding issue
Re: Fixed MySQL encoding issue [message #17571 is a reply to message #17561] |
Thu, 21 August 2008 08:33   |
Mindtraveller
Messages: 917 Registered: August 2007 Location: Russia, Moscow rgn.
|
Experienced Contributor |

|
|
Yes, I saw it now. This is strange, but I had issues with encoding until I explicitly called :
if (!session.Connect(config.GetAdd("mysqlLogin","?"),config.GetAdd("mysqlPassword","?"),config.GetAdd("mysqlDB","?"),config.GetAdd("mysqlServer","?"),3306))
throw "Can`t connect to MySQL";
mysql_set_character_set(session, "utf8");
My issue was the same as here.
And changing program charset and encoding with SetLNGCharset or SetLanguage didn`t seem to help.
[Updated on: Thu, 21 August 2008 08:35] Report message to a moderator
|
|
|
Goto Forum:
Current Time: Sat Apr 26 22:15:52 CEST 2025
Total time taken to generate the page: 0.01055 seconds
|