FIX: parse json error while json with emoji

Change-Id: Ic9d92b832c2f796d9bd399c4ebeebff1a5b2fec2
(cherry picked from commit cd57f0c7f221f03312a8cdc3ba3b81e67e95f64f)
This commit is contained in:
zorro.zhang 2023-06-06 14:25:18 +08:00 committed by Lane.Wei
parent 494e9c9f4f
commit 42bde27302

View file

@ -255,7 +255,7 @@ void ZUserLogin::OnScriptMessage(wxWebViewEvent &evt)
{
wxString str_input = evt.GetString();
try {
json j = json::parse(str_input);
json j = json::parse(into_u8(str_input));
wxString strCmd = j["command"];