I have some HTML encoded within an XML request I get through an AIF web service.
The text I’m getting is of course escaped – I get <br> instead of <br> .
Is there a proper way to decode it? I don’t want to write something for the basic stuff, then deal with bug reports for the next decade, because I forgot an accented character I never knew existed…
The lame part is, that when I feed special HTML/XML characters to XMLTextWriter, it will properly encode them, but if I feed that same XML to XMLTextReader, it will not decode them.
Thanks.
Result:
<br>