Przeglądaj źródła

add JSON_UNESCAPED_UNICODE

visuddhinanda 3 lat temu
rodzic
commit
29e8b0c78d
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      app/Console/Commands/UpgradeWbwTemplate.php

+ 1 - 1
app/Console/Commands/UpgradeWbwTemplate.php

@@ -86,7 +86,7 @@ class UpgradeWbwTemplate extends Command
                 ];
 
             }
-            $sent = \json_encode($wbwContent);
+            $sent = \json_encode($wbwContent,JSON_UNESCAPED_UNICODE);
 
 			$newRow = Sentence::firstOrNew(
 				[