title: How i encoding this UTF-8 string to ASCII for inserting it into latin1 database?
body: <p>i have this string :</p>
  
  <blockquote>
    <p>dsfssdsdfdsf « ظ…ط¯ظˆظ†ط© ط£ط­ظ…ط¯ ط§ظ„ط®ظˆط§ط¬ط©</p>
  </blockquote>
  
  <p>it's encoded in UTF-8 , i extracted it from a remote page , which i fetched it's contents  using file_get_contents function , the remote page encoding is UTF-8 , </p>
  
  <p>now i want to insert this string into database which it's table encoding is latin1 , to display it into html page which has charset ISO-8859-1 ,</p>
  
  <p>i tried many times to convert it's encoding from UTF-8 to ASCII , or TO ISO-8859-1 and also other encoding like Windows-1256 , but it doesn't success , the string appear with strange characters , notice that the default string contain arabic characters , </p>
  
  <p>examples of failed result of encoding :</p>
  
  <blockquote>
    <p>dsfssdsdfdsf Ã‚Â« Ã˜Â¸Ã¢Â€Â¦Ã˜Â·Ã‚Â¯Ã˜Â¸Ã‹Â†Ã˜Â¸Ã¢Â€Â Ã˜Â·Ã‚Â©
    Ã˜Â·Ã‚Â£Ã˜Â·Ã‚Â­Ã˜Â¸Ã¢Â€Â¦Ã˜Â·Ã‚Â¯
    Ã˜Â·Ã‚Â§Ã˜Â¸Ã¢Â€ÂžÃ˜Â·Ã‚Â®Ã˜Â¸Ã‹Â†Ã˜Â·Ã‚Â§Ã˜Â·Ã‚Â¬Ã˜Â·Ã‚Â©</p>
    
    <p>dsfssdsdfdsf &laquo; ãÏæäÉ ÃÍãÏ ÇáÎæÇÌÉ</p>
  </blockquote>