[ACCEPTED]-context.Response.Charset = Encoding.UTF8.ToString();-character-encoding
Context.Response.Charset = Encoding.UTF8.WebName;
Gets the name registered with the Internet 2 Assigned Numbers Authority (IANA) for the 1 current encoding.
which is the name 5 of the type that Encoding.UTF8 lives in.
The 4 name of the type (or class definition) is 3 always returned by Object.ToString() if 2 there is no overriding method in the class 1 (which is the case here).
use Encoding.UTF8.WebName to get the value 1 to be used in the charset.
More Related questions