From ec4368cfb2d73ca66a279a3c50aa9440f5fdd23b Mon Sep 17 00:00:00 2001 From: Nathanne Isip Date: Fri, 13 Dec 2024 21:21:41 +0800 Subject: [PATCH] Fixed implementation of VariableDeclarationExpression::loadNativeFunction() for Windows target. --- src/n8/ast/expression/VariableDeclarationExpression.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/n8/ast/expression/VariableDeclarationExpression.cpp b/src/n8/ast/expression/VariableDeclarationExpression.cpp index 9822d85..2170cf3 100644 --- a/src/n8/ast/expression/VariableDeclarationExpression.cpp +++ b/src/n8/ast/expression/VariableDeclarationExpression.cpp @@ -110,7 +110,7 @@ NativeFunction VariableDeclarationExpression::loadNativeFunction( handle = LoadLibraryA(library.c_str()); SetDllDirectoryW(wfolderPath); - std::wcout.imbue(std::locale("en_US.UTF-8")); + std::wcout.imbue(std::locale("")); std::cout << "Loading DLLs from: "; std::wcout << wfolderPath; std::cout << std::endl;