Encode output by utf-8