I have a utility class for sending emails. Letters are created as html.
I am having problems encoding special characters that do not display correctly.
However, I cannot decide how to use HtmlEncode , since I do not have the current HttpContext . Is there a .Net class that will translate special characters into html codes without running it in Asp.Net ?
I hope this makes sense, I am a little rustling about how it all works. Thanks!
fearofawhackplanet
source share