﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>SQLServerCentral / Globalization / SQL Server 7,2000  / How to insert Thai language / Latest Posts</title><generator>InstantForum.NET v2.9.0</generator><description>SQLServerCentral</description><link>http://www.sqlservercentral.com/Forums/</link><webMaster>notifications@sqlservercentral.com</webMaster><lastBuildDate>Tue, 18 Jun 2013 18:43:20 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: How to insert Thai language</title><link>http://www.sqlservercentral.com/Forums/Topic610028-230-1.aspx</link><description>What I find funny/wierd/stupid....There are two ways to make thai characters available on a webpage:1) Set the charset (code behind)Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.LoadResponse.Charset = "tis-620"End Sub2) In the meta tag (html)meta http-equiv="Content-Type" content="text/html; charset=windows-874"&gt;This should do the same, AFAIK, but it seems it dont. When i do 1) and make a form and submit that form, the characters get messed up. When I do 2) all works well.So you really need to do 2) and then use the right collation and insert statement to insert into you database. I think that it is funny/wierd/stupid that there is difference between 1) and 2)</description><pubDate>Sat, 22 Aug 2009 01:11:59 GMT</pubDate><dc:creator>moes-1066295</dc:creator></item><item><title>RE: How to insert Thai language</title><link>http://www.sqlservercentral.com/Forums/Topic610028-230-1.aspx</link><description>It is a critical thing to insert thai language. It has similarity as arabic language.[url=http://productreviewsby.me/magic-jack/]Buy Magic Jack [/url]</description><pubDate>Fri, 21 Aug 2009 07:10:44 GMT</pubDate><dc:creator>pavel0444i</dc:creator></item><item><title>RE: How to insert Thai language</title><link>http://www.sqlservercentral.com/Forums/Topic610028-230-1.aspx</link><description>This seems to work....objConn.Execute("Update tl_translate Set tl_th = N'" &amp; Request.Form("xlate") &amp; "' Where tl_id = " &amp; Request("tl_id"))        I'll eat the cookie myself :)</description><pubDate>Mon, 13 Apr 2009 12:22:31 GMT</pubDate><dc:creator>moes-1066295</dc:creator></item><item><title>RE: How to insert Thai language</title><link>http://www.sqlservercentral.com/Forums/Topic610028-230-1.aspx</link><description>Hi,I have written some pages in asp.net and i use adodb to enter into a MSSQL 2000 database.I made a form and i can enter thai characters in it.I use to following to enable thai characters Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load        Response.Charset = "tis-620"    End SubNow I enter thai into a textfield (แฟพ is my text and the form field is named xlate) and i do a request.form and I get แฟพ back and i write it on the screen. Happy so far.Now I use the following to update into the database:objConn.Execute("Update tl_translate Set tl_th = '" &amp; Request.Form("xlate") &amp; "' Where tl_id = " &amp; Request("tl_id"))I get a ? in the database and when i write the database value on the screen (webpage) i get a ? too.I made the field in the database a nvarchar and use Thai_CI_AS collation.....If someone can tell me where i go wrong..I will give him/here a cookie :-)</description><pubDate>Mon, 13 Apr 2009 12:18:43 GMT</pubDate><dc:creator>moes-1066295</dc:creator></item><item><title>RE: How to insert Thai language</title><link>http://www.sqlservercentral.com/Forums/Topic610028-230-1.aspx</link><description>Thai is one of the right to left languages as Arabic so you need to define the column or table or database with Thai collation and Nvarchar/Nchar/Ntext data type.[url]http://msdn.microsoft.com/en-us/library/aa258233(SQL.80).aspx[/url][url]http://msdn.microsoft.com/en-us/library/aa176553(SQL.80).aspx[/url]</description><pubDate>Thu, 19 Feb 2009 14:39:37 GMT</pubDate><dc:creator>Gift Peddie</dc:creator></item><item><title>How to insert Thai language</title><link>http://www.sqlservercentral.com/Forums/Topic610028-230-1.aspx</link><description>Hi,I need to insert Thai fonts thru insert SQL statement from query analyzer or thru ASP coding. If i insert, i see only junk characters (like ?????). If I copy and paste in to table from Enterprise manager i am able to see the Thai text clearly. Why this happens? any idea? How to solve this problem. anybody pls reply asap.Thanks in advance</description><pubDate>Thu, 27 Nov 2008 19:08:54 GMT</pubDate><dc:creator>charan-703265</dc:creator></item></channel></rss>