title: How to search Japanese character in string with PHP?
body: <p>I have 3 strings like this:</p>
  
  <pre class="lang-php prettyprint-override"><code>$str_1 = '「ハッスルの日」開催について';
  $str_2 = 'Today is monday';
  $str_3 = '(167スルの日日)';
  </code></pre>
  
  <p>I have an input box for user. If the string contains the text user input, it export that string to a CSV file. Eg - input: Today - $str_2 will be export to a new CSV. </p>
  
  <p>Right now I have 2 problems:</p>
  
  <ol>
  <li><p>If user input the Japanese bracket「 or Japanese characters, my program can't find it. I read these strings from other text file so I don't know should I encode user input or I need to encode the string. I tried both ways but it still not work out for me.</p></li>
  <li><p>When I echo the Japanese characters to browser, it display ok, but when I export to CSV, it display like this: Ã§ÂµÂ„Ã§Â¹Â”Ã¥ÂÂ. What should I do to get it export correctly?</p></li>
  </ol>