convert entities to the utf-8 equivalent