window: Encode logfile output UTF-8