fix entity decoding as utf8