Skip to content

Commit

Permalink
Add Windows UTF8 Manifest
Browse files Browse the repository at this point in the history
This fixes files with mojibake errors on newer versions of Windows.
  • Loading branch information
graemephi committed Oct 21, 2022
1 parent 86e4236 commit cb340f6
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/archutils/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@ if(WIN32)
"Win32/VideoDriverInfo.cpp"
"Win32/WindowIcon.cpp"
"Win32/WindowsDialogBox.cpp"
"Win32/WindowsResources.rc")
"Win32/WindowsResources.rc"
"Win32/Etterna.manifest")

list(APPEND OS_HPP
"Win32/AppInstance.h"
Expand Down
9 changes: 9 additions & 0 deletions src/archutils/Win32/Etterna.manifest
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly manifestVersion="1.0" xmlns="urn:schemas-microsoft-com:asm.v1">
<assemblyIdentity type="win32" name="..." version="6.0.0.0"/>
<application>
<windowsSettings>
<activeCodePage xmlns="http://schemas.microsoft.com/SMI/2019/WindowsSettings">UTF-8</activeCodePage>
</windowsSettings>
</application>
</assembly>

0 comments on commit cb340f6

Please sign in to comment.