title: How do I specify the encoding of an SPSS syntax file?
body: <p>I am writing out statistical results in SPSS with code like</p>
  
  <pre><code>OMS 
     / SELECT Tables Headings
     / DESTINATION FORMAT = OXML OUTFILE='C:\Temp\outfile.xml'.
  </code></pre>
  
  <p>The syntax file is saved as UTF-8 (with bookmark). It has some words with umlauts (german funny characters like ä, ö, ü). When I open the syntax file, it displays these umlauts as Ã¼, Ã¶ etc. Needless to say, in the output xml file, the umlauts are still garbled.</p>
  
  <p>How can I specify what encoding the syntax file is in? The bookmark (BOM) does not seem to be doing the trick.</p>
  
  <p>If not, what encoding should I use for the syntax file?</p>