Encoding strings to unicode? HELP MEEE!!!

Discussion in 'PHP' started by adhishor, Jun 1, 2006.

  1. #1
    Can somebody help me?? Please I need a function in php which can encode regular strings (any kind of characters) to their unicode code. The problem is that i need it very quickly... i spend many nights :confused: but i didn't managed to resolve it. Althought :cool: i managed to create a function which can decode from unicode encode to the regular string.. (like &#38 -->"&").
    So can anybody help me, i need it at school.... HELP MEEE!!!!!!!!!!!!!!!
     
    adhishor, Jun 1, 2006 IP
  2. Selkirk

    Selkirk Peon

    Messages:
    93
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
  3. mykoleary

    mykoleary Peon

    Messages:
    64
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Quick FYI: & --> & is NOT unicode decoding, it's entity decoding
     
    mykoleary, Jun 2, 2006 IP