title: Converting data encoding with lapply crashes Shiny app
body: <p>I am working on a Shiny app and am converting the encodings of my data via iconv with the following lines.</p>
  <p><code>df$`Column 1`&lt;- iconv(df$`Column 1`, to = &quot;UTF-8&quot;)</code></p>
  <p><code>df$`Column 2`&lt;- iconv(df$`Column 2`, to = &quot;UTF-8&quot;)</code></p>
  <p>This works fine, but seen as there are multiple columns, this is obviously not a tidy solution. I'm trying to employ <code>lapply</code> to apply the same logic to all my columns, however this crashes my app with no errors, warnings or traceback.</p>
  <p><code>df&lt;- lapply(df, iconv, to = &quot;UTF-8&quot;)</code></p>
  <p>Could anybody shed some light on why this might be?</p>