title: Handling Long hyphen in Column Name R
body: <p>I have DF as Chk, and Column like Column1–Column1,  Which is not actually Hyphen and Might be long Hyphen as per my knowledge,  To Replace that Spl Character i tried using</p>
  
  <pre><code>colnames(Chk) &lt;- sub("–", ".", colnames(Chk))
  </code></pre>
  
  <p>Which Dint work.Any other methods to handle this?</p>
  
  <p>Just to show Difference i have posted the normal Hyphen Column1-Column1(Normal Hyphen),Column1–Column1(Not Normal Hyphen)</p>