function to convert utf8 to windows 1256

Discussion in 'PHP' started by crazy.works, Dec 15, 2008.

  1. #1
    hello,
    please help me with function to convert utf8 text to windows 1256
     
    crazy.works, Dec 15, 2008 IP
  2. kmap

    kmap Well-Known Member

    Messages:
    2,215
    Likes Received:
    29
    Best Answers:
    2
    Trophy Points:
    135
    #2
    Try this

    $mytext_utf = iconv( 'utf-8','windows-1256', $mytext);


    Regards

    Alex
     
    kmap, Dec 16, 2008 IP