decode html entities

thanks to
http://stackoverflow.com/questions/3093342/unescaping-html-entities-nnnn-into-plain-utf-8