title: PHP Japanese echo string becomes question marks
body: <p>I'm working on a php site that needs both Japanese and English. In most places I have no trouble getting the Japanese to display correctly, but I can't get the characters to display if I use a function like this:</p>
  
  <p>echo.php:</p>
  
  <pre><code>&lt;?php
  function draw(){
  echo "日本語";
  }
  draw();
  ?&gt;
  </code></pre>
  
  <p>I get "日本語"</p>
  
  <p>but if I try this :
  index.php:</p>
  
  <pre><code>&lt;?php
   some stuff
   include "echo.php";
   draw();
  ?&gt;
  </code></pre>
  
  <p>I get "???".
  Is there any way for me to get my echo file to send the data to the first file in a way it can read it?</p>
  
  <p>EDIT:
  The website works, and shows Japanese characters correctly, except when it tries to pull a function from a php file
  Here's the code:</p>
  
  <pre><code>&lt;html lang="ja"&gt;
  &lt;head&gt;  
  &lt;title&gt;Running Projects&lt;/title&gt;
  &lt;meta content="text/html; charset=utf-8" http-equiv="Content-Type"&gt;
  &lt;/head&gt;
  &lt;body&gt;
  &lt;div id="header"&gt;
  &lt;? php include "layout.php" ?&gt;
  &lt;/div&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>Where layout.php is just a file with a list of links, I have this on each page so the links are on every page.
  For a different part, I have to use functions.php to get some data from a database and write it to the page, so, I tried putting layout.php into the functions.php and calling it:  The English links appeared, but the Japanese links appeared as question marks.</p>