title: How to echo an 0x96 character in a batch file?
body: <p>I've got a <a href="http://en.wikipedia.org/wiki/Team_Foundation_Server" rel="nofollow">TFS</a> project with a 0x96 character in its title, e.g. "Project – X" which I need to reference in a batch file. The problem is that this particular dash is represented by 0x96 (and not 0x20) which is a control character in Unicode (û in ASCII?), so the following (in an ANSI encoded .cmd file) fails as "Project û X".</p>
  
  <pre><code>echo "Project – X"
  </code></pre>
  
  <p>But when pasted straight to the command line (I think) it cheats and translates the 0x96 to a 0x20 (which is no good as my file names don't match). I tried this with a hex editor and it looks like there's some cheating going on.</p>
  
  <p>The .cmd file won't work if it's encoded as anything but ANSI.</p>