| |
th2701tt
Posts: 10
Score: 0
Joined: 1/8/2006
Status: offline
|
Dear members 1. I used strConv function in my ASP page to convert a string to Unicode but it did not understand, the browser showed an error when I tested my page. Anybody knows another function can do this in VBScript? Please tell me how to do. 2. When I test this asp code, the browser did not display exactly unicode string: <% Session.CodePage = 65001 strSQL = "SELECT " & strTable & "Thread.Message, " & strTable & "Forum.Forum_ID " & _ "FROM (" & strTable & "Forum INNER JOIN " & strTable & "Topic ON " & strTable & "Forum.Forum_ID = " & strTable & "Topic.Forum_ID) INNER JOIN "& strTable & "Thread ON " & strTable & "Topic.Topic_ID = " & strTable & "Thread.Topic_ID " & _ "WHERE " & strTable & "Thread.Thread_ID=" & lngPostID & ";" Set rsCommon = Server.CreateObject("ADODB.Recordset") rsCom.Open strSQL, adoCon strMsg = rsCom("Message") %> <html> <head> <meta http-equiv=content-type content="text/html; charset=utf-8"> </head> <body> <% = strMsg %> </body> </html> Someone can tell me why it can not display exactly unicode? Please help me. Thanks.
< Message edited by th2701tt -- 4/7/2006 12:33:28 PM >
_____________________________
To my fans!
|
|