mirror of
https://github.com/fmtlib/fmt.git
synced 2025-11-29 13:50:02 +01:00
Use replacement character in path
This commit is contained in:
@@ -74,7 +74,7 @@ void write_escaped_path(basic_memory_buffer<Char>& quoted,
|
||||
# ifdef _WIN32
|
||||
template <>
|
||||
auto get_path_string<char>(const std::filesystem::path& p) {
|
||||
return to_utf8<wchar_t>(p.native());
|
||||
return to_utf8<wchar_t>(p.native(), to_utf8_error_policy::replace);
|
||||
}
|
||||
|
||||
template <>
|
||||
|
||||
Reference in New Issue
Block a user