Last post Oct 18, 2010 09:47 AM by netroo
Oct 13, 2010 08:44 AM|netroo|LINK
Hi, How would you develop asp.net web pages to display Thai characters?
When I go to http://www.aspnetthai.com/ .....I see the characters so my browser already has the capability to display such characters. Now I just need to know how a web page like this can be developed. ANy help is greatly appreciated.
Oct 13, 2010 09:21 AM|Hgvyas123|LINK
in which datatype you are storing your thai chareacters?
varchar can't support that use nvarchar
Oct 13, 2010 11:56 AM|netroo|LINK
I am not storing any Thai characters anyway. I currently have a website in English, but now need to make it available in Thai (so it would be Thai characters). What is the best way I can do this?
Also, there is some info and text that gets stored in the DB which will also need to be translated to Thai. Does SQL Server 2008 DB allow the storage of Thai characters?
Oct 14, 2010 04:35 AM|Hgvyas123|LINK
yup sql server will support but you have ti use nvarchar, ntext it will store.
Oct 18, 2010 08:21 AM|Tapan Bhatt|LINK
In web.config: <globalization requestEncoding="utf-8" responseEncoding="utf-8" culture="th-TH" uiCulture="th-TH" />
For more details, you can refer my post: http://forums.asp.net/t/1561722.aspx
If you are using sql server as a database then ensure that your coloumn should be
nVarchar or nText.
I hope it will helpful to you.
Oct 18, 2010 09:47 AM|netroo|LINK