diff options
author | xth <xth@live.com> | 2021-08-01 23:36:53 +0800 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2021-08-03 00:16:11 +0300 |
commit | a79980da6ba50ef9eaea396528c9c8a395c4997d (patch) | |
tree | c14077e8c4eb1c2a977505874f59d78d85fde2a8 /mesonbuild/modules/dlang.py | |
parent | a450f8c6bc59dc7a4aee513be57a1d49b2295e52 (diff) | |
download | meson-a79980da6ba50ef9eaea396528c9c8a395c4997d.zip meson-a79980da6ba50ef9eaea396528c9c8a395c4997d.tar.gz meson-a79980da6ba50ef9eaea396528c9c8a395c4997d.tar.bz2 |
fix bat_info UTF-8 string error
" bat_info = json.loads(bat_json) " may produce error
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xc3 ...
Because the vswhere.exe's output is not utf-8 by default
Use UTF-8 encoding for vswhere.exe can fixing it .
Diffstat (limited to 'mesonbuild/modules/dlang.py')
0 files changed, 0 insertions, 0 deletions