diff --git a/xs/src/libslic3r/Log.cpp b/xs/src/libslic3r/Log.cpp index b6be76aa5..fe2a265b7 100644 --- a/xs/src/libslic3r/Log.cpp +++ b/xs/src/libslic3r/Log.cpp @@ -110,7 +110,7 @@ std::ostream& _Log::debug(const std::string& topic) { void _Log::raw(const std::string& message) { this->raw() << message << std::endl; } -void _Log::raw(const std::wstring& message) { this->raw(this->converter.to_bytes(message)); } +void _Log::raw(const std::wstring& message) { this->raw(boost::locale::conv::utf_to_utf(message)); } std::ostream& _Log::raw() { return _out;