title: How to determine the encoding of the text in a QTextEdit in Qt?
body: <p>I am obtaining the content from a <code>QTextEdit</code> object by using the following code:</p>
  
  <pre><code>QString text=my_QTextEdit.toPlainText();
  </code></pre>
  
  <p>What is the encoding that <code>QTextEdit</code> uses, a what encoding is used in the <code>QString</code> I get back from the <code>toPlainText()</code> call?</p>
  
  <p>Thanks.</p>