Problem with insert Thai Language data to SQL Server 2008 field datatype text and show ????

Posted by embarus on Stack Overflow See other posts from Stack Overflow or by embarus
Published on 2010-04-06T03:15:24Z Indexed on 2010/04/06 3:23 UTC
Read the original article Hit count: 333

Hello everyone

I created MVC ASP.Net Web application and tried insert Thai language data to SQL Server 2008 database to field with data type text and then database store ?????? which is incorrect. For Html Page I user charset utf-8

However I tried to Encode string before insert data to database and change database field collation. These do not solve problem.

I'm looking forward to your reply.

Thanks,

embarus

© Stack Overflow or respective owner

Related posts about sql-server-2008

Related posts about asp.net-mvc