title: Persian google search api in PHP
body: <p>I am using <a href="https://developers.google.com/web-search/docs/?hl=en" rel="nofollow">Google web search API </a> in my PHP(laravel) app for search a Persian(farsi) word in web ...</p>
  
  <p>I am using this code for this :</p>
  
  <pre><code>&lt;?php
  
  $url = "https://ajax.googleapis.com/ajax/services/search/web?v=1.0&amp;q=فارسی&amp;userip=192.168.106.1";
  
  $ch = curl_init();
  curl_setopt($ch, CURLOPT_URL, $url);
  curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
  curl_setopt($ch, CURLOPT_REFERER, 'http://cafesearch.ir/');
  $body = curl_exec($ch);
  curl_close($ch);
  
  $json = json_decode($body);
  var_dump($json-&gt;responseData);
  </code></pre>
  
  <p>there are not any problems with English , but in Persian I have not any results...</p>
  
  <p>How I can solve this problem?</p>