]> git.openstreetmap.org Git - nominatim.git/blobdiff - lib/lib.php
use json_encode in search stuff as well
[nominatim.git] / lib / lib.php
index cc8a90e0ae134350ec3039addb4adab1b379a0d7..5d02ef89a1c530a7f3e0b0fa53accdde394963af 100644 (file)
     {
         header("Access-Control-Allow-Origin: *");
 
-        $jsonout = json_encode($xVal, JSON_UNESCAPED_UNICODE);
+        $jsonout = json_encode($xVal);
 
                if( ! isset($_GET['json_callback'])) {
                        header("Content-Type: application/json; charset=UTF-8");