title: Writing characters > 7F (127) as hex strings according to code page 1252 in windows batch file
body: <p>I have a problem with an application creating a batch file. The problem is that my output batch file always is UTF-8 which does not work for batch files. The output contains diacritical marks like é,à,Ä etc. so whatever I do those fail in my batch file.</p>
  
  <p>Thus my question: Is there any way to write any characters above 7F (127 decimal) in my batch file's commands in some 7-bit representation. E.g. as hex strings like "\0xF0" for character 240 or something simmilar.</p>
  
  <p>Of course to use the win 1252 encoding I'd start the batch file with:</p>
  
  <pre><code>chcp 1252
  </code></pre>