декодер utf-7

Discussion in 'PHP' started by lomerok, 17 Jul 2008.

  1. lomerok

    lomerok Elder - Старейшина

    Joined:
    23 Apr 2008
    Messages:
    141
    Likes Received:
    8
    Reputations:
    0
    как средствами пхп зделать енкодер из обычной кодировки в utf 7?
     
    #1 lomerok, 17 Jul 2008
    Last edited: 17 Jul 2008
  2. Kaimi

    Kaimi Well-Known Member

    Joined:
    23 Aug 2007
    Messages:
    1,732
    Likes Received:
    811
    Reputations:
    231
    попробуй
    $str = mb_convert_encoding($str, "UTF-7", "auto");
     
    _________________________
    1 person likes this.
  3. lomerok

    lomerok Elder - Старейшина

    Joined:
    23 Apr 2008
    Messages:
    141
    Likes Received:
    8
    Reputations:
    0
    спасибо роботает