move decode_utf8 closer to reason for it