Hi all,

I hope someone can help me - this is driving me crazy and I've been
searching for answers all day...

I have a web page written in C# ASP.NET, with a multiline text box and
a label. The user types text into the text box, and there are 2
buttons so they can either save the text to a SQL database on the web
server, or preview the text in a label.

The text box allows e.g. Chinese characters no problem, and they are
saved and loaded from the SQL database fine, so there's nothing wrong
with how they are being stored, saved, retrieved, etc.

However when the preview button is clicked, the label only shows a
string of square symbols. Obviously it's having trouble displaying the
characters. I'm not setting any special fonts for each of the
controls, so they should both be using default fonts.

I'm copying the text from the textbox to the label like this:

ConstitutionLabel.Text = ConstitutionTextBox.Text;

so it should be straightforward. Can anyone suggest anything?

Any ideas appreciated!



-- 
To unsubscribe, reply using "remove me" as the subject.

Reply via email to