diff --git a/src/slic3r/GUI/SelectMachine.cpp b/src/slic3r/GUI/SelectMachine.cpp index 31d67c51b..a23cb68db 100644 --- a/src/slic3r/GUI/SelectMachine.cpp +++ b/src/slic3r/GUI/SelectMachine.cpp @@ -1950,10 +1950,10 @@ void SelectMachineDialog::update_priner_status_msg(wxString msg, bool is_warning } else { msg = format_text(msg); - auto str_new = msg.ToStdString(); + auto str_new = msg.utf8_string(); stripWhiteSpace(str_new); - auto str_old = m_statictext_printer_msg->GetLabel().ToStdString(); + auto str_old = m_statictext_printer_msg->GetLabel().utf8_string(); stripWhiteSpace(str_old); if (str_new != str_old) {