title: Are functions like strip_tags() and trim() UTF-8 aware?
body: <p>I'm wondering whether functions like <code>strip_tags()</code> and <code>trim()</code> UTF-8 aware?</p>
  <p>I found this on the web, but I'm not sure about it:</p>
  <blockquote>
  <p><code>strip_tags()</code>: multi-byte UTF-8 characters contain no byte sequences that resemble less-than or greater-than symbols.</p>
  <p><code>trim()</code>: multi-byte UTF-8 characters contain no byte sequences that resemble white space.</p>
  </blockquote>
  <p>If it's true, using those functions with an UTF-8 string could lead to a corrupted/illegible string.</p>
  <p>Thank you.</p>