prettify utf8_decode function