title: PHP-gd text display in Japanese is weird
body: <p>Finally I had to recompile PHP with <code>--enable-gd-jis-conv</code>.
  However the text display is wrong, in Japanese.</p>
  
  <pre><code>$text = '夏の天気';
  $fontfile = '/usr/share/fonts/japanese/TrueType/sazanami-mincho.ttf';
  
  return imagettftext ($image, $size,  $angle,  $x,  $y,  $color, $fontfile, $text);
  </code></pre>
  
  <p>But different <em>kanji</em> (Japanese characters) are displayed instead (very different, looks like Chinese).</p>
  
  <p>Could it be an encoding issue?</p>
  
  <p>Using PHP 5.3.3 on RHEL 5.4.</p>