Merge pull request from AenBleidd/am_encoding_fix

[Manager] Make proper UTF-8 decoding of AM info
This commit is contained in:
Juha Sointusalo 2019-03-27 21:56:08 +02:00 committed by GitHub
commit 63d679cce8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

View File

@ -302,10 +302,10 @@ void CAccountManagerInfoPage::OnPageChanged( wxWizardExEvent& event ) {
CAcctMgrListItem* pItem = new CAcctMgrListItem();
pItem->SetURL( pl.account_managers[i]->url.c_str() );
pItem->SetName( pl.account_managers[i]->name.c_str() );
pItem->SetImage( pl.account_managers[i]->image.c_str() );
pItem->SetDescription( pl.account_managers[i]->description.c_str() );
pItem->SetURL( wxString(pl.account_managers[i]->url.c_str(), wxConvUTF8) );
pItem->SetName( wxString(pl.account_managers[i]->name.c_str(), wxConvUTF8) );
pItem->SetImage( wxString(pl.account_managers[i]->image.c_str(), wxConvUTF8) );
pItem->SetDescription( wxString(pl.account_managers[i]->description.c_str(), wxConvUTF8) );
m_pProjectListCtrl->Append(