I have a problem with ASP.NET and japanese. My ASP.Net Web, SQLserver DB is encoded as JAPAN SHIFT_JIS, but in japanese has about 45 special characters, enter link description here
they are not the SHIFT-JIS,
* When inserted to DB "邰" is changed to "邰"
In my C# code:
string strHtmlDecode = Server.HtmlDecode("邰"); this.txtName.Text = strHtmlDecode;
In the server side <.cs code file> when debuging return true character
"邰"
But the respond to client (HTML page) is not true. Because of page's encoding is shift-jis
=> solution for solve this problem?
=> Or how can I encode only "txtName" TextBox as utf-8 in a Shift-jis page?
I not sure if your problem is the same as I had initially when I am doing inserting of Chinese characters. But you may try it by putting a N in front. Example
The column type for the "Text" is nvarchar. Probably might work?