orpus_text</code> objects contain valid UTF-8 data. It is impossible to create a <code>corpus_text</code> object with invalid UTF-8:</p>
<div class="sourceCode" id="cb7"><pre class="downlit sourceCode r">
<code class="sourceCode R"><span class="co"># the input is encoded in Latin-1, but declared as UTF-8</span>
<span class="va">x</span> <span class="op">&lt;-</span> <span class="st">"fa\xE7ile"</span>
<span class="fu"><a href="https://rdrr.io/r/base/Encoding.html">Encoding</a></span><span class="op">(</span