mirror of
https://github.com/microsoft/DirectXTex.git
synced 2026-02-05 04:36:13 +01:00
Use UTF-8 instead of ANSI
This commit is contained in:
@@ -1542,7 +1542,7 @@ HRESULT DirectX::LoadDDSTextureFromFileEx(
|
||||
if (texture)
|
||||
{
|
||||
CHAR strFileA[MAX_PATH];
|
||||
int result = WideCharToMultiByte(CP_ACP,
|
||||
int result = WideCharToMultiByte(CP_UTF8,
|
||||
WC_NO_BEST_FIT_CHARS,
|
||||
fileName,
|
||||
-1,
|
||||
|
||||
Reference in New Issue
Block a user