Possible Duplicate:
How to decode HTML Entities in C?
How can I decode HTML entities in C++?
I didn't see anything good on this, which means this could be a good topic.
I have written a quick escapeHTML function in C++ which will escape stuff which is cool, but how would I unescape it with C++ as well?
It really is the idea of looking for a &, followed by a "lt;", "gt;", "quot;", "amp;" and return the relevant data.
Does anyone have a version they created? If not I will create an efficient version of it.