converting special characters back to ASCII

Discussion in 'PHP' started by alarik, Dec 5, 2006.

  1. #1
    I have stumbled into a rather strange situation.
    Names like Íñiguez are recognised by PHP,we can work with them.But when inserted into a database they transform into something like "José Calderón".Of course that`s not the exact example for the transformation.
    The problem is if I try to search for Íñiguez into the database I get NOTHING because I must search for the equivalent of Íñiguez in ASCII.So please tell me how I can transform characters like Íñiguez into ASCII so I can use them into databases.
    Thanks for your time
     
    alarik, Dec 5, 2006 IP
  2. daboss

    daboss Guest

    Messages:
    2,249
    Likes Received:
    151
    Best Answers:
    0
    Trophy Points:
    0