Skip to content

Commit 5a7efc2

Browse files
authored
Fixing utf-8 casting.
1 parent 325d622 commit 5a7efc2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/filesystem.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ ZepFileSystemCPP::ZepFileSystemCPP(const ZepPath& configPath)
2626
// Use the config path
2727
m_configPath = configPath;
2828

29-
m_workingDirectory = ZepPath(cpp_fs::current_path().string());
29+
m_workingDirectory = ZepPath(reinterpret_cast<const char*>(cpp_fs::current_path().u8string().c_str()));
3030

3131
// Didn't find the config path, try the working directory
3232
if (!Exists(m_configPath))

0 commit comments

Comments
 (0)