title: Character encoding issue exporting rails data to CSV
body: <p>I'm exporting data to a CSV file in rails and in some of my fields, I'm getting character encoding issues like this when I open in Excel:</p>
  
  <pre><code>didnâ€™t
  </code></pre>
  
  <p>I borrowed this code from an example and I'm assuming the encoding is off. Any idea what it should be?</p>
  
  <pre><code>send_data csv_data,
        :type =&gt; 'text/csv; charset=iso-8859-1; header=present',
        :disposition =&gt; "attachment; filename=#{filename}.csv"
  </code></pre>