title: Difference in bash printf output between run script and source script
body: <p>I can't seem to find the difference between a script run two different ways.</p>
  
  <p>Here's the script (named <code>test.sh</code>):</p>
  
  <pre><code>#! /bin/bash
  printf "%b\n" "\u5A"
  </code></pre>
  
  <p>When the script is sourced:</p>
  
  <pre><code>. test.sh
  &gt; Z         ## Result I want ##
  </code></pre>
  
  <p>When the script is run:</p>
  
  <pre><code>./test.sh
  &gt; \u5A      ## Result I get ##
  </code></pre>
  
  <p>I want the run script to give the results of the sourced script...  what setting do I need to set/change?</p>