title: Printing extended ASCII characters in PHP using CP437
body: <p>I need to print extended ASCII codes using <a href="https://en.wikipedia.org/wiki/Code_page_437" rel="nofollow noreferrer">CP437</a> (e.g. "É" = 144) in PHP.</p>
  
  <p>Currently, <code>echo utf8_encode(chr(144))</code> will just display a question box in my console (Bash on Ubuntu on Windows).</p>
  
  <p>Using <code>for ($i = 0; $i &lt; 255, $i++) echo utf8_encode(chr($i))</code>, I see that "É" is actually 201; I presume the code page here is 65001, using <a href="http://roubaixinteractive.com/PlayGround/Binary_Conversion/The_Characters.asp" rel="nofollow noreferrer">this ASCII table</a>.</p>
  
  <p>How do I get the string representation of ASCII character codes using CP437 in PHP? </p>