title: UTF8 Script in PowerShell outputs incorrect characters
body: <p>I've created a UTF8 script for PowerShell with non-ascii characters. </p>
  
  <p>characters.ps1:</p>
  
  <pre><code>Write-Host "ç â ã á à"
  </code></pre>
  
  <p>When the script is run in PowerShell console, it outputs wrong characters.</p>
  
  <p><img src="https://i.stack.imgur.com/RAjT5.jpg" alt="enter image description here"></p>
  
  <p>However, if I write the chars directly in the console, they are shown as expected:</p>
  
  <p><img src="https://i.stack.imgur.com/XYCXH.jpg" alt="enter image description here"></p>
  
  <p>Does anyone knows what causes that behavior?</p>
  
  <p>The problem arised from a script I wrote who has hardcoded paths which include non-ascii characters. When I try to pass the path as argument to cmdlets (in the case I was gonna robocopy a folder) the command fails because it cannot find the path (which is output wrongly in the screen).</p>