title: Umlauts are not printed correctly when printed into document
body: <p>When printing a word file with the print() command, umlauts (ä,ö,ü) are not being printed correctly into the word file.</p>
  <p>My R Studio is setup to save scripts as UTF-8.
  I manually saved all files &quot;encoded as UTF-8&quot;, after I find/replaced all umlauts with ae/oe/ue and back to ä/ö/ü again.
  The officer package is set to use UTF-8.</p>
  <p>Is there another setting (maybe in R itself) that has to be checked for successfull endocing when printing into a docx file?</p>
  <p>EDIT:</p>
  <p>I found the solution:
  I was running the scripts with the source command, which doesn't have UTF-8 set as default.
  This prints the umlauts (officer, .doxc)</p>
  <pre><code>source(&quot;path/to/script.R&quot;, encoding = &quot;UTF-8&quot; )
  </code></pre>
  <p>This one doesnt:</p>
  <pre><code>source(&quot;path/to/script.R&quot;, sep = &quot;&quot;))
  </code></pre>