From 9245b4f36ab5c88f2971f7c99a32048c6d21d840 Mon Sep 17 00:00:00 2001 From: "chunmao.guo" Date: Mon, 22 Aug 2022 16:14:21 +0800 Subject: [PATCH] FIX: utf8 convert error in WebGuideDialog Change-Id: Ie575117615b2a3dc3b11bc9c91e773ec104f7a61 --- src/slic3r/GUI/WebGuideDialog.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/slic3r/GUI/WebGuideDialog.cpp b/src/slic3r/GUI/WebGuideDialog.cpp index 6d3afca61b..655c33f978 100644 --- a/src/slic3r/GUI/WebGuideDialog.cpp +++ b/src/slic3r/GUI/WebGuideDialog.cpp @@ -898,7 +898,7 @@ int GuideFrame::LoadProfile() } else { //cout << "is a file" << endl; //cout << iter->path().string() << endl; - wxString strVendor = wxString(iter->path().string()).BeforeLast('.'); + wxString strVendor = from_u8(iter->path().string()).BeforeLast('.'); strVendor = strVendor.AfterLast( '\\'); strVendor = strVendor.AfterLast('\/');