Displaying Multibyte characters from ASP

Posted on 2004-11-07
Medium Priority
Last Modified: 2006-11-17
I am reading chinese characters stored in SQL-Server DB in a VB Dll and returning them to the calling funciton in ASP. I am getting the values as '&#xNNNN'. I want to display these values as chinese characters in a textbox in the webpage.
If I replace the '&#x' as '%u', then am able to show the characters. Is there anyother way of doing it, without replacing the prefix for hexadecimal values?

Thanks in advance.
Question by:Shenthilk
1 Comment
LVL 13

Accepted Solution

nurbek earned 800 total points
ID: 12521893
have you tried using meta?

<meta http-equiv="Content-Type" content="text/html; charset=gb2312">


<meta http-equiv="Content-Type" content="text/html; charset=hz-gb-2312">


<meta http-equiv="Content-Type" content="text/html; charset=big5">


Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I recently decide that I needed a way to make my pages scream on the net.   While searching around how I can accomplish this I stumbled across a great article that stated "minimize the server requests." I got to thinking, hey, I use more than one…
This demonstration started out as a follow up to some recently posted questions on the subject of logging in: http://www.experts-exchange.com/Programming/Languages/Scripting/JavaScript/Q_28634665.html and http://www.experts-exchange.com/Programming/…
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…
With just a little bit of  SQL and VBA, many doors open to cool things like synchronize a list box to display data relevant to other information on a form.  If you have never written code or looked at an SQL statement before, no problem! ...  give i…
Suggested Courses

862 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question