cannot display chinese

I cannot display Chinses at ASP page. All chinese data (whatever is
Traditional or Simply Chinese) are displayed as ????.

My website connect to MS SQL Server 2005 and all the chinese data are
displayed as ????.

I try to fix the problem for several days, but still can't fix it. Please
help me to solve this problem.

here is the detail of my system.
* SQL Server 2005 via TCP/IP
* the connection string is "Provider=SQLOLEDB.1;Persist Security
Info=False;User ID=xx;Initial Catalog=websonic_pos;Data
Source=xx.xx.xx.xx;Password=xx;"
HK newsgroup [ Di, 29 Januar 2008 20:24 ] [ ID #1919181 ]

Re: cannot display chinese

"HK newsgroup" <paul [at] websonic.com.hk> wrote in message
news:ePwBIyqYIHA.6068 [at] TK2MSFTNGP05.phx.gbl...
> I cannot display Chinses at ASP page. All chinese data (whatever is
> Traditional or Simply Chinese) are displayed as ????.
>
> My website connect to MS SQL Server 2005 and all the chinese data are
> displayed as ????.
>
> I try to fix the problem for several days, but still can't fix it. Please
> help me to solve this problem.
>
> here is the detail of my system.
> * SQL Server 2005 via TCP/IP
> * the connection string is "Provider=SQLOLEDB.1;Persist Security
> Info=False;User ID=xx;Initial Catalog=websonic_pos;Data
> Source=xx.xx.xx.xx;Password=xx;"
>


Place this at the top of your ASP page and then save using UTF-8 encoding
<% [at] codepage=65001 %>
<%
Response.CharSet = "UTF-8"
%>

.. . . Rest of your page . . .




--
Anthony Jones - MVP ASP/ASP.NET
Anthony Jones [ Fr, 01 Februar 2008 19:07 ] [ ID #1921886 ]
Webserver » microsoft.public.inetserver.asp.db » cannot display chinese

Vorheriges Thema: x64 und ODBC via Active Server Pages
Nächstes Thema: adding an image url to a DB