Question : UTF-8 / ASP Problem - Foreign Characters from SQL 2008

Hi

Using classic ASP.

I have a web page with a form with a text box. If I enter Chinese characters into the text box at write them to the database (nvarchar(max)). I am using a parameterize insert or update query using ADO.

When getting the result back in a record-set and displaying it on a webpage I get gibberish.

So for example: If I enter –some Chinese  into the text box I get

é¦页

back out in the browser.

Interestingly I just entered the Chinese characters into this post and when I viewed my question they displayed as "u"!

I have <%@LANGUAGE="VBSCRIPT" CODEPAGE="65001"%> on the page and also .

Any ideas?

Answer : UTF-8 / ASP Problem - Foreign Characters from SQL 2008

do you have a link to have a look at it?

this EE site is using


Random Solutions  
 
programming4us programming4us