[thelist] ASP.NET Character Encoding

Chris at globet.com Chris at globet.com
Fri Oct 14 12:53:39 CDT 2005


On the subject of character encoding in .NET, can someone explain to me why the following happens; if possible? 

I have two files, test.asp and test.aspx. The content is as follows:

		<title>Character Encoding Test</title>
		<meta http-equiv="Content-Type" content="text/html;" charset="windows-1253" />

		ÐÑÏÓÏ×Ç: Äåí Ý÷åôå åéóÜãåé ôï E-mail

The ASP file renders in the browser as the correct Greek characters, but the ASP.NET file renders as incorrect characters. Is this something I can address programatically, rather than changing any .NET configuration files? I have found quite a bit of information about .NET and character encoding, but most of it is going over my head at the moment.

Many thanks in advance!

Chris Marsh
Web Developer
Tel: +44 20 8246 4804 Ext 828
Fax: +44 20 8246 4808

Any opinions expressed in this email are those of the individual and not necessarily the Company. This message is intended for the use of the individual or entity to which it is addressed and may contain information that is confidential and privileged and exempt from disclosure under applicable law. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution, or copying of this communication is strictly prohibited.
If you have received this communication in error, please contact the sender immediately and delete it from your system. 

More information about the thelist mailing list