Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
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 Go to previous messageGo to previous message
Mindtraveller is currently offline  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

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Topic++ converted to new format with "includeable" option
Next Topic: Random, Random(dword)
Goto Forum:
  


Current Time: Thu May 16 05:52:09 CEST 2024

Total time taken to generate the page: 0.02384 seconds