title: PowerShell scripts on GitHub
body: <p>PowerShell $OutputEncoding defaults to ASCII. PowerShell by default represents strings in Unicode. When I create scripts using the ISE, they are created in Unicode.</p>
  
  <p>The following command sends text to a file in Unicode:
      echo Testing > test.txt</p>
  
  <p>When I push these files to GitHub, the code view chokes on them because they aren't UTF-8.</p>
  
  <p>I'm confused about the best solution, with the least amount of work during commit.</p>
  
  <p>I know I could convert each file and then commit, but that seems cockeyed to me. Clearly, I can't change how PowerShell represents strings internally, nor would I want to.</p>
  
  <p>What are others doing?</p>