title: iconv: Converting from Windows ANSI to UTF-8 with BOM
body: <p>I want to use <code>iconv</code> to convert files on my Mac. The goal is to go from "Windows ANSI" to "whatever Windows Notepad saves, if you tell it to use UFT8".</p>
  
  <p>This is what I want:</p>
  
  <pre><code>$ file names.csv 
  names.csv: UTF-8 Unicode (with BOM) text, with CRLF line terminators
  </code></pre>
  
  <p>This is what I use:</p>
  
  <pre><code>$ iconv -f CP1252 -t UTF-8  names.csv &gt; names.utf8.csv 
  </code></pre>
  
  <p>This is what I get (not what I want):</p>
  
  <pre><code>$ file names.utf8.csv 
  names.utf8.csv: UTF-8 Unicode text, with CRLF line terminators
  </code></pre>
  
  <p>How do I get the BOM?</p>