1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-05-03 09:09:47 +02:00

Scripting: Unicode chars in responses are now OK.

This is also relevant to batch scripting.  We need to stay in UTF8 to be safe.
Thanks to Robert Hänggi for reporting this issue.
This commit is contained in:
James Crook 2018-01-17 17:49:43 +00:00
parent 8077c1db04
commit be0e6cd605

View File

@ -48,7 +48,7 @@ class Response {
std::string mMessage;
public:
Response(const wxString &response)
: mMessage(response.mb_str())
: mMessage(response.utf8_str())
{ }
wxString GetMessage()