Skip to content

Commit

Permalink
meson: Fix for building on non-English locale
Browse files Browse the repository at this point in the history
Specify utf-8 encoding to fix building on non-English locale
  • Loading branch information
seungha-yang committed Oct 11, 2021
1 parent 71dcab0 commit a07b9b3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -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 = [
Expand Down

0 comments on commit a07b9b3

Please sign in to comment.