From a07b9b33832df2261ace6b84e6a041d14e390a75 Mon Sep 17 00:00:00 2001 From: Seungha Yang Date: Tue, 12 Oct 2021 02:41:41 +0900 Subject: meson: Fix for building on non-English locale Specify utf-8 encoding to fix building on non-English locale --- meson.build | 1 + 1 file changed, 1 insertion(+) diff --git a/meson.build b/meson.build index e0228d1..182a3c9 100644 --- a/meson.build +++ b/meson.build @@ -95,6 +95,7 @@ if cc.get_id() == 'msvc' '-we4053', # an expression of type void was used as an operand '-we4071', # no function prototype given '-we4819', # the file contains a character that cannot be represented in the current code page + '/utf-8', # Set the input and exec encoding to utf-8, like is the default with GCC ] elif cc.get_id() == 'gcc' or cc.get_id() == 'clang' test_cflags = [ -- cgit v1.2.1