Use u8 strings when dealing with file paths

This commit is contained in:
Hielke Morsink committed 2022-03-01 22:12:39 +01:00
1 parent 55c71b0c74
commit 6ba0a3bd49
27 files changed
+115 -120

No files matched your search

+1 -1
View File
@@ -456,7 +456,7 @@ void ScriptEngine::LoadPlugins()
auto base = _env.GetDirectoryPath(DIRBASE::USER, DIRID::PLUGIN);
if (Path::DirectoryExists(base))
{
auto pattern = Path::Combine(base, "*.js");
auto pattern = Path::Combine(base, u8"*.js");
auto scanner = Path::ScanDirectory(pattern, true);
while (scanner->Next())
{