ci/windows: work around meson encoding issues
authorErik Faye-Lund <erik.faye-lund@collabora.com>
Tue, 22 Jun 2021 10:42:50 +0000 (12:42 +0200)
committerMarge Bot <eric+marge@anholt.net>
Thu, 24 Jun 2021 17:51:47 +0000 (17:51 +0000)
commitb437fb810a83382cfae9aa2f38875a9a47e011a1
treed93f59d93c9ac2c618c0104d5df63a8477eb59cc
parentf815026d36f32a83326b09113ed28ff3263bb7a0
ci/windows: work around meson encoding issues

It turns out, some combinations of Meson and MSVC doesn't handle UTF-8
symbols in source-files as gracefully as we'd like. Luckily, there's a
work-around; forcing UTF-8 as the default-encoding.

Please see this Meson ticket for details:
https://github.com/mesonbuild/meson/issues/8263

Cc: mesa-stable
Reviewed-by: Jesse Natalie <jenatali@microsoft.com>
Reviewed-by: Daniel Stone <daniels@collabora.com>
Acked-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11424>
.gitlab-ci/windows/mesa_build.ps1