[Manager] Make proper UTF-8 decoding of AM info

When attaching to AM make proper decoding of UTF-8 encoded strings.

Fixes #3068

Signed-off-by: Vitalii Koshura <lestat.de.lionkur@gmail.com>
This commit is contained in:
Vitalii Koshura 2019-03-24 20:26:34 +02:00
parent fbed9f3290
commit e9f0909a6e
No known key found for this signature in database
GPG Key ID: CE0DB1726070A5A3
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(