Force string to utf8 before trying to pass it to url encoding
Fix #7878
This commit is contained in:
parent
059623a486
commit
fee3c41c40
|
@ -249,7 +249,7 @@ int COMMON_CONTROL::ReportBug( const TOOL_EVENT& aEvent )
|
|||
|
||||
KICAD_CURL_EASY kcurl;
|
||||
wxString url_string;
|
||||
url_string.Printf( m_bugReportUrl, kcurl.Escape( message.ToStdString() ) );
|
||||
url_string.Printf( m_bugReportUrl, kcurl.Escape( std::string( message.utf8_str() ) ) );
|
||||
|
||||
wxLaunchDefaultBrowser( url_string );
|
||||
|
||||
|
|
Loading…
Reference in New Issue