title: Ruby Output Unicode Character
body: <p>I'm not a Ruby dev by trade, but am using Capistrano for PHP deployments. I'm trying to cleanup the output of my script and am trying to add a <a href="http://www.charbase.com/2713-unicode-check-mark" rel="noreferrer">unicode check mark</a> as discussed in <a href="http://jondavidjohn.com/cleaning-up-capistrano-deployment-output/" rel="noreferrer">this blog</a>.</p>
  
  <p>The problem is if I do:</p>
  
  <pre><code>checkmark = "\u2713"
  puts checkmark
  </code></pre>
  
  <p>It outputs "\u2713" instead of ✓</p>
  
  <p>I've googled around and I just can't find anywhere that discusses this. </p>
  
  <p>TLDR: How do I <code>puts</code> or <code>print</code> the unicode checkmark U-2713?</p>
  
  <p><strong>EDIT</strong></p>
  
  <hr>
  
  <p>I am running Ruby 1.8.7 on my Mac (OSX Lion) so cannot use the <code>encode</code> method. My shell is Bash in iTerm2.</p>
  
  <hr>
  
  <p><strong>UPDATE</strong> [4/8/2019] Added reference image in case site ever goes down.</p>
  
  <p><a href="https://i.stack.imgur.com/zuukT.png" rel="noreferrer"><img src="https://i.stack.imgur.com/zuukT.png" alt="Unicode Check Mark U+2713"></a></p>