entity decoding