Skip to content
Permalink
Browse files

tempdir() path uses UTF-8 encoding internally

  • Loading branch information
kevinushey committed Oct 17, 2019
1 parent c60306f commit 963422a13182ad8f36a2248b7a1e2594ad95fba3
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/cpp/r/session/RSession.cpp
@@ -559,7 +559,8 @@ FilePath tempDir()
Error error = r::exec::RFunction("tempdir").call(&tempDir);
if (error)
LOG_ERROR(error);
FilePath filePath(r::util::fixPath(tempDir));

FilePath filePath(string_utils::systemToUtf8(r::util::fixPath(tempDir)));
return filePath;
}

0 comments on commit 963422a

Please sign in to comment.
You can’t perform that action at this time.