title: UnicodeEncodeError while writing Dict to CSV
body: <p>following error: "UnicodeEncodeError: 'ascii' codec can't encode character u'\xc4' in position 2: ordinal not in range(128)"</p>
  
  <pre><code>mydict = { 
            'SNo': ['1','2','3'],
            'Name': ['Dinesh', 'Rajesh', 'Mahesh'],
            'Grade': ['α', 'β', 'γ']
            }
  
  with open('info.csv', 'wb') as f:
      header = mydict.keys()
      writer = csv.DictWriter(f, fieldnames=header)
      writer.writeheader()
      for pivoted in zip(*mydict.values()):
          writer.writerow(dict(zip(header, pivoted)))
  
  </code></pre>
  
  <p><strong>Python Version 2.7</strong></p>
  
  <p><strong>Expected Output</strong></p>
  
  <p><a href="https://i.stack.imgur.com/ZimZp.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ZimZp.jpg" alt="enter image description here"></a></p>
  
  <p><code>Error: UnicodeEncodeError: 'charmap' codec can't encode character '\u03b1' in position 9: character maps to &lt;undefined&gt;</code></p>