Ok... I'll bite.  I've never used HttpWebResponse.CharacterSet, but it seems that the line:

this.m_CharacterSet = text1.Substring(num1, num2).Trim();

should read:

this.m_CharacterSet = text1.Substring(num1, num2-num1).Trim();

So, what's my prize?