title: Unicode arrow character prints on Mac but not Windows
body: <p>I have a Java program that is meant to print a Unicode <a href="http://www.fileformat.info/info/unicode/char/2190/index.htm" rel="nofollow noreferrer">LEFTWARDS ARROW</a> character, <code>←</code>:</p>
  <pre><code>public class test {
      public static void main(String[] args) {
          System.out.print(&quot;\u2190&quot;);
      }
  }
  </code></pre>
  <p>When I run this program in Eclipse on a Mac computer, the console prints the proper arrow symbol, <code>←</code>. However, when I run the exact same code on a Windows 10 machine, the Unicode character prints as a question mark, <code>?</code>.</p>
  <p>I also tried printing an arrow character in a C++ program on my Windows computer, and got the same Unicode rendering problem.</p>
  <p>I don't know when this stopped working and if it is a recent Windows update that is causing the character to not display properly, but I do know that this code used to work and doesn't anymore.</p>
  <p>Any ideas as to why this code is not rendering the correct Unicode character on Windows?</p>
  <hr />
  <h3>Update</h3>
  <p>To address @ElliotFrisch's comment, I checked which font my Eclipse console is using, and it is using Consolas. I opened the font Character Map in Control Panel, and Consolas does seem to have a leftwards arrow, U+2190 character:</p>
  <blockquote>
  <p><a href="https://i.stack.imgur.com/Mprc6.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Mprc6.png" alt="character map" /></a></p>
  </blockquote>
  <p>I also tried changing the font to different common fonts like Times New Roman, Calibri, Cambria and Arial, but none of those printed the correct arrow character.</p>