title: Remove accents from a dataframe column in R
body: <p>I got a data.table base.
  I got a term column in this data.table</p>
  
  <pre><code>class(base$term)
  [1] character
  length(base$term)
  [1] 27486
  </code></pre>
  
  <p>I'm able to remove accents from a string.
  I'm able to remove accents from a vector of string.</p>
  
  <pre><code>iconv("Millésime",to="ASCII//TRANSLIT")
  [1] "Millesime"
  iconv(c("Millésime","boulangère"),to="ASCII//TRANSLIT")
  [1] "Millesime" "boulangere"
  </code></pre>
  
  <p>But for some reason, it does not work when I apply the very same function on my term column</p>
  
  <pre><code>base$terme[2]
  [1] "Millésime"
  iconv(base$terme[2],to="ASCII//TRANSLIT")
  [1] "MillACsime"
  </code></pre>
  
  <p>Does anybody know what is going on here?</p>