mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-27 00:24:00 -06:00
FIX: parse json error while json with emoji
Change-Id: Ic9d92b832c2f796d9bd399c4ebeebff1a5b2fec2 (cherry picked from commit cd57f0c7f221f03312a8cdc3ba3b81e67e95f64f)
This commit is contained in:
parent
494e9c9f4f
commit
42bde27302
1 changed files with 1 additions and 1 deletions
|
@ -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"];
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue