Need to decode data as utf-8

Hi, 

I needed to decode `data` during rendering in order to provide utf8 files.

Didn't look for more elegant solution, so let me know.

Edouard