From 1802193c5b1f3f7495865dd13b900ebffb3b74c4 Mon Sep 17 00:00:00 2001 From: Joseph Lenox Date: Fri, 23 Nov 2018 20:24:36 -0600 Subject: [PATCH] Fixed useage of boost::locale for raw() --- xs/src/libslic3r/Log.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;