Skip to content

Commit

Permalink
Merge pull request #769 from zeux/gltf-utf8
Browse files Browse the repository at this point in the history
gltfpack: Use UTF-8 encoding during gltfpack processing
  • Loading branch information
zeux authored Sep 14, 2024
2 parents b0eaf6a + 75b4a57 commit fc5c85e
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,10 @@ set(GLTF_SOURCES
gltf/write.cpp
)

if(WIN32)
list(APPEND GLTF_SOURCES gltf/gltfpack.manifest)
endif()

if(MSVC)
add_compile_options(/W4)
else()
Expand Down
9 changes: 9 additions & 0 deletions gltf/gltfpack.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 fc5c85e

Please sign in to comment.