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;