title: iconv encoding conversion with iconv windows-1256
body: <p>When encoding the language "UTF-8" to "windows-1256" files I notice letters to lose I do not know why</p>
  
  <p>Example of the text</p>
  
  <pre><code>&lt;?php 
  
  
  $JSON = file_get_contents("http://gdata.youtube.com/feeds/api/videos?q=sUAvgNwQsaM&amp;alt=json");
  
  
  $JSON_Data = json_decode($JSON);
  
  $title = $JSON_Data-&gt;{'feed'}-&gt;{'entry'}[0]-&gt;{'title'}-&gt;{'$t'};
  
      $title= iconv("UTF-8","windows-1256","$title"); 
  
  
      echo $youtube;
  
      ?&gt;
  </code></pre>
  
  <p>If it has been deleted</p>
  
  <pre><code>iconv("UTF-8","windows-1256","$title"); 
  </code></pre>
  
  <p>Full text will appear and I did not encode  windows-1256</p>
  
  <p>How to solve this problem
  A text input to databases windows-1256 encoding
  Greetings</p>