title: Print unicode character
body: <p>With Bash, you can use <code>printf</code> with hex codes</p>
  
  <pre class="lang-none prettyprint-override"><code>\xHH   byte with hexadecimal value HH (1 to 2 digits)
  \uHHHH Unicode (ISO/IEC 10646) character with hex value HHHH (4 digits)
  </code></pre>
  
  <p>example</p>
  
  <pre><code>$ printf '\x26'
  &amp;
  </code></pre>
  
  <p>However the Unicode example does not print as expected</p>
  
  <pre><code>$ printf '\u0026'
  \u0026
  </code></pre>
  
  <p>My Bash version</p>
  
  <pre class="lang-none prettyprint-override"><code>$ echo $BASH_VERSION
  4.1.10(4)-release
  </code></pre>