.net - FCL utility to convert XML named entities to numeric equivalents? -
of fcl classes (or using external api) there utility assembly, class or members can plugged .net application convert named entities numeric equivalents?
for example, é
become É
.
you may take @ htmldecode , htmlencode methods:
class program { static void main() { var s = httputility.htmldecode("é"); s = httputility.htmlencode(s); console.writeline(s); // prints É } }
Comments
Post a Comment