diff --git a/funciones/funciones.php b/funciones/funciones.php index 581f54c..bd815f7 100644 --- a/funciones/funciones.php +++ b/funciones/funciones.php @@ -7987,6 +7987,7 @@ while($row = mysqli_fetch_array( $sql )) //$contenido[0] =stripslashes($contenido[0]); //$contenido[0] =stripslashes($contenido[0]); $contenido[0] =stripslashes($contenido[0]); + $contenido[0] =stripslashes($contenido[0]); $is_json = isJson($contenido[0]); /*if($is_json == '1'){ $cadena='{"a":1,"b":2,"c":3,"d":4,"e":5}'; @@ -12182,7 +12183,7 @@ $features[] = "$consulta"; $resultado = $features; }else { - $resultado = json_encode($features,JSON_NUMERIC_CHECK|JSON_PRETTY_PRINT); + $resultado = json_encode($features,JSON_NUMERIC_CHECK|JSON_PRETTY_PRINT|JSON_UNESCAPED_UNICODE); } return $resultado; @@ -12311,7 +12312,7 @@ if($datos["tipo"] == "array" ) { $resultado = $features; }else { //$resultado = json_encode($mostrar,JSON_NUMERIC_CHECK|JSON_PRETTY_PRINT); -$resultado = json_encode($features,JSON_NUMERIC_CHECK|JSON_PRETTY_PRINT); +$resultado = json_encode($features,JSON_NUMERIC_CHECK|JSON_PRETTY_PRINT|JSON_UNESCAPED_UNICODE); } return $resultado;