FIX: utf8 convert error in WebGuideDialog

Change-Id: Ie575117615b2a3dc3b11bc9c91e773ec104f7a61
This commit is contained in:
chunmao.guo 2022-08-22 16:14:21 +08:00 committed by Lane.Wei
parent 460374d6b2
commit 9245b4f36a

View file

@ -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('\/');