title: Unicode vs. UTF-8
body: <p>I believe Windows currently defaults to UTF-16 for “Unicode”, but that this may not be the case in the future.</p>
  
  <p>For this reason, would it be better to use</p>
  
  <pre><code>[System.Text.Encoding]::UTF8.GetString($someByteArray)
  </code></pre>
  
  <p>instead of the following?:</p>
  
  <pre><code>[System.Text.Encoding]::Unicode.GetString($someByteArray)
  </code></pre>