Set codepage for winapi to utf-8 in the manifest file

This actually works on windows 10 1903 and later though
This commit is contained in:
loonycyborg 2020-08-14 13:53:29 +03:00 committed by Pentarctagon
parent c69d2a91a6
commit 56c2b1e5a8
2 changed files with 3 additions and 0 deletions

View file

@ -13,6 +13,8 @@ for bin in binaries:
res = []
env[bin + "_res"] = res
Depends(env["wesnoth_res"], File("wesnoth.exe.manifest"))
def WindowsInstaller(env, files):
files = [Entry(file) for file in Flatten(files)]
env["NSIS_INSTALL_FILES"] = ""

View file

@ -25,6 +25,7 @@
<asmv3:windowsSettings>
<dpiAware xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">true</dpiAware>
<dpiAwareness xmlns="http://schemas.microsoft.com/SMI/2016/WindowsSettings">PerMonitorV2</dpiAwareness>
<activeCodePage xmlns="http://schemas.microsoft.com/SMI/2019/WindowsSettings">UTF-8</activeCodePage>
</asmv3:windowsSettings>
</asmv3:application>
</assembly>