Have a customer need to fill in a special name:? А? ж о л?? р ы л ы с?
C # the background track, found that after the HtmlEncode is & amp; # 171; А? ж о л?? р ы л ы с & amp; # 187;
At this moment, and there is no problem, but when saved to the database, became & amp; # 171; А? ж о л?? р ы л ы с & amp; # 187;
That is to say? And???? Becomes a question mark?
Coding format is utf-8
Did not come across this problem before, troublesome everybody a great god help going to do with this?
CodePudding user response:
Try changing the field type to nvarchar
CodePudding user response:
The