title: PHP trim and space not working
body: <p>I have some data imported from a csv. The import script grabs all email addresses in the csv and after validating them, imports them into a db.</p>
  
  <p>A client has supplied this csv, and some of the emails seem to have a space at the end of the cell. No problem, trim that sucker off... nope, wont work.</p>
  
  <p>The space seems to not be a space, and isn't being removed so is failing a bunch of the emails validation.</p>
  
  <p><strong>Question:</strong> Any way I can actually detect what this erroneous character is, and how I can remove it?</p>
  
  <p>Not sure if its some funky encoding, or something else going on, but I dont fancy going through and removing them all manually! If I UTF-8 encode the string first it shows this character as a:</p>
  
  <blockquote>
    <p>Â</p>
  </blockquote>