Set locale to C.UTF-8 when running tests under Wine
Using UTF-8 encoding seems to be required for the Unicode file names to work with Wine.
This commit is contained in:
5
.github/workflows/ci_msw_cross.yml
vendored
5
.github/workflows/ci_msw_cross.yml
vendored
@@ -60,6 +60,11 @@ jobs:
|
||||
# Default to 64-bit build.
|
||||
HOST_TRIPLET: ${{ matrix.triplet || 'x86_64-w64-mingw32' }}
|
||||
|
||||
# While our tests should run in any locale natively, it seems that Wine
|
||||
# requires the locale encoding to be UTF-8 for Unicode file names to work
|
||||
# correctly, so set the locale explicitly for it.
|
||||
LC_ALL: C.UTF-8
|
||||
|
||||
# Run all commands as the normal user, created by the first step below.
|
||||
#
|
||||
# Note that the Bash options used here are the same as for the default
|
||||
|
Reference in New Issue
Block a user