Quantcast
Channel: ฟอรัม Getting started with SQL Server
Viewing all articles
Browse latest Browse all 8428

SQL varchar chinese data cannot display correctly

$
0
0

My web page can show correctly all the chinese word, but only the SQL result result garbled (chinese word )

I am using IIS + aspx + aspx.vb to disable the data as following

I am use MSSQL 2008, I have a table like this, and Database collate

is Latin1_General_BIN

Anyone can help?

/****** Object: Table [dbo].[UN_ITEM1]    Script Date: 08/01/2014 15:49:48 ******/

CREATETABLE [dbo].[UN_ITEM1](

   [ITEM_CODE] [varchar](20)NOTNULL,

   [DES] [varchar](60)NULL,

)ON [PRIMARY]

-----------------------------------------------------------

<%@ Page Language="VB" AutoEventWireup="false" CodeFile="SelectItem.aspx.vb" Inherits="SelectMO" CodePage=65001 %>

-----------------------------------------


Viewing all articles
Browse latest Browse all 8428

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>