title: Windows-1252 to UTF-8 encoding
body: <p>I've copied certain files from a Windows machine to a Linux machine. So all the Windows encoded (windows-1252) files need to be converted to UTF-8. The files which are already in UTF-8 should not be changed. I'm planning to use the <code>recode</code> utility for that. How can I specify that the <code>recode</code> utility should only convert windows-1252 encoded files and not the UTF-8 files?</p>
  
  <p>Example usage of recode:</p>
  
  <pre><code>recode windows-1252.. myfile.txt
  </code></pre>
  
  <p>This would convert <code>myfile.txt</code> from windows-1252 to UTF-8. Before doing this, I would like to know that <code>myfile.txt</code> is actually windows-1252 encoded and not UTF-8 encoded. Otherwise, I believe this would corrupt the file.</p>