diff --git a/src/slic3r/GUI/SelectMachine.cpp b/src/slic3r/GUI/SelectMachine.cpp index 23afd85d84..bfae727b84 100644 --- a/src/slic3r/GUI/SelectMachine.cpp +++ b/src/slic3r/GUI/SelectMachine.cpp @@ -1953,10 +1953,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) {