Strange Character in SQL Database

2019-09-05 17:38发布

I have a WPF C# application that saves and retrieves data in and out of a SQL Database. Everynow and then a strange character turns up in the DB. I'm assuming it happens when incorrect data is passed into it, but it throws no error, and when I try to retrieve that row its like its not there, or doesn't exist.

I am unable to paste the character but it looks like an empty square.

Can anyone shed any light on this?

1条回答
甜甜的少女心
2楼-- · 2019-09-05 18:40

Sounds like an encoding problem. Have a read here and see if you can deduce what's wrong afterwards: http://www.joelonsoftware.com/articles/Unicode.html

查看更多
登录 后发表回答