Zip Component, Email Component, Encryption Component ActiveX Control for Zip Compression .NET Components for ASP.NET
ActiveX and .NET Components for Zip Compression, Encryption, Email, XML, S/MIME, HTML Email, Character Encoding, Digital Certificates, FTP, and more ASP Email ActiveX Component


Index of Chilkat Blog Posts

August 1, 2007

Re-encoding HTML Entities in C#

The Chilkat.CkString class is a free supporting Chilkat class and can be used without a license. It provides miscellaneous string functionality which includes HTML entity encoding and decoding. Here is an example of re-encoding HTML entities:

    string s = "This is a test éééé";
	
    Chilkat.CkString str = new Chilkat.CkString();
    str.append(s);
    str.entityEncode();
	
    s = str.getString();
    // Output is "This is a test éééé"
    textBox1.Text = s;


Privacy Statement. Copyright 2000-2011 Chilkat Software, Inc. All rights reserved.
Send feedback to support@chilkatsoft.com

Components for Microsoft Windows XP, 2000, 2003 Server, Vista, Windows 7, and Windows 95/98/NT4.