FIX: utf8 convert error in WebGuideDialog

Change-Id: Ie575117615b2a3dc3b11bc9c91e773ec104f7a61
This commit is contained in:
chunmao.guo
2022-09-02 12:52:18 +08:00
committed by Lane.Wei
parent 460374d6b2
commit 9245b4f36a
+1 -1
View File
@@ -898,7 +898,7 @@ int GuideFrame::LoadProfile()
} else { } else {
//cout << "is a file" << endl; //cout << "is a file" << endl;
//cout << iter->path().string() << 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( '\\');
strVendor = strVendor.AfterLast('\/'); strVendor = strVendor.AfterLast('\/');