If you need something that converts &#[0-9]+ entities to UTF-8, this is simple and works: