Encode output as utf8