title: center align text with special characters in fpdf
body: <p>I am using fpdf to generate pdf file, and like to align text center.</p>
  
  <pre><code>$pdf-&gt;SetTextColor(0,42,92);
  $pdf-&gt;SetFont('Arial','B',24);
  $course = "This &amp; that";         
  $wi = $pdf-&gt;GetStringWidth( $course);
  $startPoint = (($pdf-&gt;w)/2)-($wi/2);
  $pdf-&gt;SetXY($startPoint, 195); 
  $pdf-&gt;Cell($wi, 0, $course, 0, 0, 'C');
  </code></pre>
  
  <p>Everything works fine if i replace $course with</p>
  
  <pre><code>$course = "This that";
  </code></pre>
  
  <p>I guess '&amp;' in the string is causing problem. Would be great if anyone figured this out.</p>