// Convert string to Json kepping UTF8 characters json_encode($tring, JSON_UNESCAPED_UNICODE); // Receive posted json $input_data = json_decode(trim(file_get_contents('php://input')), true);