[core] Encode the log with UTF-8 (and also use "with-as").