How to remove '¡È'

Discussion in 'PHP' started by Subikar, May 11, 2007.

  1. #1
    I am using $Message=preg_replace("/¡È/","\"",$Message); But my server is not supporting. Whenever I am uploading the file to my server it is converting to $Message=preg_replace("/??/","\"",$Message);.

    Please anyone solve this one quickly.

    Thanks in advance
    Subikar
     
    Subikar, May 11, 2007 IP
  2. MMJ

    MMJ Guest

    Messages:
    460
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Can you describe your problem better? Why isn't that code working? Can you show us the rest of your code?
     
    MMJ, May 11, 2007 IP
  3. CodyRo

    CodyRo Peon

    Messages:
    365
    Likes Received:
    15
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Instead of using it in the code like that, find the ASCII code for it and use chr() in the preg_replace()
     
    CodyRo, May 12, 2007 IP