mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-17 02:22:17 +00:00
FIX: parse json error while json with emoji
Change-Id: Ic9d92b832c2f796d9bd399c4ebeebff1a5b2fec2 (cherry picked from commit cd57f0c7f221f03312a8cdc3ba3b81e67e95f64f)
This commit is contained in:
@@ -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"];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user