Possible Duplicate:
How to fix “Incorrect string value” errors?
I'm retrieving data from my database through a webpage, changing the data, and then trying to store it back to the database, but it is giving me an error during save.
I have tried to change the collation of my database (latin1 default and utf8 default) to see if that would make a difference. But sadly it didn't.
Here is the error I am getting:
500
error
MySql.Data.MySqlClient.MySqlException (0x80004005): Incorrect string value: '\xC2\x92m as...' for column 'description' at row 1
at MySql.Data.MySqlClient.MySqlStream.ReadPacket()
at MySql.Data.MySqlClient.NativeDriver.GetResult(Int32& affectedRow, Int32& insertedId)
at MySql.Data.MySqlClient.Driver.GetResult(Int32 statementId, Int32& affectedRows, Int32& insertedId)
at MySql.Data.MySqlClient.Driver.NextResult(Int32 statementId)
at MySql.Data.MySqlClient.MySqlDataReader.NextResult()
at MySql.Data.MySqlClient.MySqlCommand.ExecuteReader(CommandBehavior behavior)
at MySql.Data.MySqlClient.MySqlCommand.ExecuteNonQuery()
at BlueSEQ.SQL.Execute(MySqlCommand Command) in ***:line 798