Windows: Add application manifest to set ActiveCodePage to UTF-8

This will set the process code page to UTF-8 on Windows 10 version 1903
or above, allowing Japanese file names to be handled correctly even if
the system locale is not Japanese.
This commit is contained in:
kichikuou
2025-01-09 08:58:14 +09:00
parent e9d8a9d1a6
commit 10735b8be6
2 changed files with 9 additions and 0 deletions
+1
View File
@@ -2,6 +2,7 @@
#include <afxres.h>
#include "resources.h"
CREATEPROCESS_MANIFEST_RESOURCE_ID RT_MANIFEST "xsystem35.exe.manifest"
100 ICON DISCARDABLE "xsystem35.ico"
// Note for game translators:
+8
View File
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
<application>
<windowsSettings>
<activeCodePage xmlns="http://schemas.microsoft.com/SMI/2019/WindowsSettings">UTF-8</activeCodePage>
</windowsSettings>
</application>
</assembly>