.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

Popular posts from this blog

android - Spacing between the stars of a rating bar? -

html - Instapaper-like algorithm -

c# - How to execute a particular part of code asynchronously in a class -