title: Using another language (code page) in a batch file made for others
body: <p>So I have a batch file tool that is originally in English, and I am having translated to various other languages. My situation is that many languages use special characters. In my case, it is German. </p>
  
  <p>So I might have in the English one:</p>
  
  <pre><code>echo Administrative permissions required. Detecting permissions...
  </code></pre>
  
  <p>Then in the German one, I'd have:</p>
  
  <pre><code>Administratorrechte benötigt. Überprüfe Berechtigungen...
  </code></pre>
  
  <p>Which uses different types of characters. Now, in my research, I have found the windows command <code>chcp</code> for changing code pages. Now, what I'm trying to do, is change the code page (or any other way of doing this) to allow for these characters to display. My current code page is the one for US English; <code>437</code>. For German, I believe I need to use <code>1141</code> (<a href="https://msdn.microsoft.com/en-us/library/windows/desktop/dd317756.aspx" rel="nofollow noreferrer">source</a>). I have read that you can do things like changing the CMD settings, or making more permanent changes via the registry. But I need this to be on demand when a random person runs this file, with minimal effort.</p>
  
  <p>I have tried setting the code page to <code>1141</code> by adding <code>chcp 1141</code> at the start of the batch file, but this causes errors. The batch file cannot understand my commands anymore.</p>