Using the conversion to char sets described for these functions, is it
possible to get a whole string into some charset? I'm trying to figure
out a way to take invalid character sets from idiot users, and
translate the string so that in the end I have a string that won't
cause my XML to test invalid.
html_entity_decode()
htmlspecialchars()
htmlentities()
http://www.php.net/manual/en/functio...ity-decode.php