diff --git a/src/openrct2/CmdlineSprite.cpp b/src/openrct2/CmdlineSprite.cpp index e06ed64dae..e82cd3adcc 100644 --- a/src/openrct2/CmdlineSprite.cpp +++ b/src/openrct2/CmdlineSprite.cpp @@ -449,6 +449,7 @@ int32_t cmdline_for_sprite(const char** argv, int32_t argc) return -1; } + path = fs::u8path(path).generic_u8string(); fprintf(stdout, "{ \"path\": \"%s\", \"x\": %d, \"y\": %d },\n", path.c_str(), g1.x_offset, g1.y_offset); } return 1;