diff --git a/src/effects/nyquist/Nyquist.cpp b/src/effects/nyquist/Nyquist.cpp index 32efc085f..7a3690bd6 100644 --- a/src/effects/nyquist/Nyquist.cpp +++ b/src/effects/nyquist/Nyquist.cpp @@ -3199,8 +3199,8 @@ void * nyq_reformat_aud_do_response(const wxString & Str) { LVAL dst; LVAL message; LVAL success; - wxString Left = Str.BeforeLast('\n').BeforeLast('\n'); - wxString Right = Str.BeforeLast('\n').AfterLast('\n'); + wxString Left = Str.BeforeLast('\n').BeforeLast('\n').ToAscii(); + wxString Right = Str.BeforeLast('\n').AfterLast('\n').ToAscii(); message = cvstring(Left); success = Right.EndsWith("OK") ? s_true : nullptr; dst = cons(message, success);