I have some Javascript code that communicates with an XML-RPC backend. The XML-RPC returns strings of the form:
If you're using jQuery:
function htmlDecode(value){ return $('').html(value).text(); }
Otherwise, use Strictly Software's Encoder Object, which has an excellent htmlDecode() function.
htmlDecode()