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 » U++ Library support » U++ SQL » umlauts in mysql-update
Re: umlauts in mysql-update [message #22224 is a reply to message #22215] Thu, 25 June 2009 20:11 Go to previous messageGo to previous message
michael is currently offline  michael
Messages: 153
Registered: May 2007
Location: Germany
Experienced Member
The problem seems to be somewhere in SqlUpdate:

customer customer;
		
customer.sqlID = StrInt(sqlData[0]);
customer.name = sqlData[1];
customer.number = StrInt(sqlData[2]);
customer.product = sqlData[3];
customer.version = sqlData[4];
customer.location = sqlData[5];
customer.connection = sqlData[6];
customer.comment = sqlData[7];
		
PromptOK(customer.name); // Just for debugging
		
Sql sql(session);
		
sql * SqlUpdate(SqlId(sqlTable))
(NAME, customer.name)
(NUMMER, customer.number)
(PRODUKT, customer.product)
(VERSION, customer.version)
(STANDORT, customer.location)
(ANBINDUNG, customer.connection)
(BEMERKUNG, customer.comment)
.Where(ID == customer.sqlID);


customer.name contains umlauts as long i update the database with SqlUpdate.

Any idea whats going wrong? As i mentioned before, this problem does not occur using upp 2008.1.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: How to create a sqlite3 function
Next Topic: ExportSch, zero byte file is the result
Goto Forum:
  


Current Time: Tue May 21 09:30:19 CEST 2024

Total time taken to generate the page: 0.01800 seconds