From 4dc55bffa801c7b0a67f6309fcd0dc02ee1cbad6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?D=C3=A1vid=20Bolvansk=C3=BD?= Date: Tue, 22 Nov 2022 02:35:11 +0100 Subject: [PATCH] Speculative fix for issue 5024 --- clientgui/ProjectProcessingPage.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clientgui/ProjectProcessingPage.cpp b/clientgui/ProjectProcessingPage.cpp index 1eed099eca..b1b1a8ade1 100644 --- a/clientgui/ProjectProcessingPage.cpp +++ b/clientgui/ProjectProcessingPage.cpp @@ -405,7 +405,7 @@ void CProjectProcessingPage::OnStateChange( CProjectProcessingPageEvent& WXUNUSE ai->email_addr = (const char*)pWA->GetAccountEmailAddress().mb_str(); } ai->passwd = (const char*)pWA->GetAccountPassword().mb_str(); - ai->user_name = (const char*)::wxGetUserName().mb_str(); + ai->user_name = (const char*)::wxGetUserName().utf8_str(); if (ai->user_name.empty()) { ai->user_name = (const char*)::wxGetUserId().mb_str(); }