title: Unicode symbols when creating DocumentTermMatrix
body: <p>I am using the TM package from CRAN in R. I have problems creating a DocumentTermMatrix based on a Corpus. The problems is when I create a TermDocumentMatrix based on an UTF-8 corpus then some words turn into a unicode symbols.</p>
  
  <pre><code>corpus &lt;- Corpus(VectorSource(vector_with_texts_in_several_languages, encoding = "UTF-8"))
  tdm &lt;- TermDocumentMatrix(corpus, control=list(weighting=weightTfIdf))
  print(Terms(tdm)[1:3])
  </code></pre>
  
  <p>Returns:</p>
  
  <pre><code>[1] "&lt;U+03BB&gt;a&lt;U+03B3&gt;&lt;U+03AF&gt;a"
  [2] "&lt;U+03C1&gt;&lt;U+03AE&gt;fa&lt;U+03BD&gt;&lt;U+03BF&gt;&lt;U+03C2&gt;" 
  [3] "&lt;U+03C1&gt;&lt;U+03AF&gt;p&lt;U+03BF&gt;&lt;U+03C5&gt;"
  </code></pre>
  
  <p>If I manually inspect the corpus then I see correct output.</p>
  
  <pre><code>print(corpus[[1]])
  </code></pre>
  
  <p>Returns:</p>
  
  <pre><code>квартира на кутузовском
  </code></pre>
  
  <p>Does anyone know how I can get a TermDocumentMatrix with correct Terms? Or is there a way to convert these unicode symbols into 'readable' output again?</p>
  
  <p>Note: print(Terms(tdm)) does NOT contain words from print(corpus[[1]])</p>