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