73d8015aa3
"Fix" should be taken with a grain of salt, this will fix the issue on win10 1903 and newer. OpenVDB uses boosts memory mapped files which call CreateFileA in the back-end when you feed it a regular string. now the encoding for CreateFileA will be whatever the default is for the system, it internally turns it into a wide string with said encoding and calls CreateFileW. This change changes that encoding to UTF-8 for just blender so we can use utf-8 with any of the narrow api functions. This is a manifest change and only win10 1903 will look for it, so that sadly limits the fix to only a subset of users. While ideally we would have fixed the issue our selves, some of the calls to openvdb::io::file::open are beyond our control (ie from inside USD or Mantaflow) Note: This only changes the behaviour in regard to Win32 API functions, regular CRT functions like fopen or if_stream will still not accept utf-8 filenames. Differential Revision: https://developer.blender.org/D14981 Reviewed by: brecht
36 lines
1.2 KiB
XML
36 lines
1.2 KiB
XML
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
|
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
|
|
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v3">
|
|
<security>
|
|
<requestedPrivileges>
|
|
<requestedExecutionLevel level="asInvoker" uiAccess="false"></requestedExecutionLevel>
|
|
</requestedPrivileges>
|
|
</security>
|
|
</trustInfo>
|
|
<application>
|
|
<windowsSettings>
|
|
<activeCodePage xmlns="http://schemas.microsoft.com/SMI/2019/WindowsSettings">UTF-8</activeCodePage>
|
|
</windowsSettings>
|
|
</application>
|
|
<compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1">
|
|
<application>
|
|
<!-- Windows 10 -->
|
|
<supportedOS Id="{8e0f7a12-bfb3-4fe8-b9a5-48fd50a15a9a}"/>
|
|
<!-- Windows 8.1 -->
|
|
<supportedOS Id="{1f676c76-80e1-4239-95bb-83d0f6d0da78}"/>
|
|
</application>
|
|
</compatibility>
|
|
<dependency>
|
|
<dependentAssembly>
|
|
<assemblyIdentity
|
|
type="win32"
|
|
name="Microsoft.Windows.Common-Controls"
|
|
version="6.0.0.0"
|
|
processorArchitecture="*"
|
|
publicKeyToken="6595b64144ccf1df"
|
|
language="*"
|
|
/>
|
|
</dependentAssembly>
|
|
</dependency>
|
|
@BUNDLECRT@
|
|
</assembly> |