Force log file to UTF-8.

pull/1399/head
Jussi Pakkanen 8 years ago
parent 0e6045864c
commit a61e41b1d2
  1. 2
      mesonbuild/mlog.py

@ -25,7 +25,7 @@ log_file = None
def initialize(logdir):
global log_dir, log_file
log_dir = logdir
log_file = open(os.path.join(logdir, 'meson-log.txt'), 'w')
log_file = open(os.path.join(logdir, 'meson-log.txt'), 'w', encoding='utf8')
def shutdown():
global log_file

Loading…
Cancel
Save