diff options
Diffstat (limited to 'examples/json.php')
-rw-r--r-- | examples/json.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/json.php b/examples/json.php index b4caf2e..a679fec 100644 --- a/examples/json.php +++ b/examples/json.php @@ -12,5 +12,5 @@ $res = json_encode($inputCsv, JSON_PRETTY_PRINT|JSON_HEX_QUOT|JSON_HEX_TAG|JSON_ if (JSON_ERROR_NONE != json_last_error()) { die(json_last_error_msg()); } -header('Content-Type: application/json; charset="'.$inputCsv->getEncoding().'"'); +header('Content-Type: application/json; charset="utf-8"'); die($res); |