title: Python 3: CSV utf-8 encoding
body: <p>I'm trying to write a CSV with non-ascii character using Python 3. </p>
  
  <pre><code>import csv
  
  with open('sample.csv', 'w', newline='', encoding='utf-8') as csvfile:
      spamwriter = csv.writer(csvfile, delimiter=' ',
                              quotechar='|', quoting=csv.QUOTE_MINIMAL)
      spamwriter.writerow("嗨")
  </code></pre>
  
  <p>When I open the Excel file, see <code>å—¨</code> instead. Am I doing something wrong here? </p>