title: Encoding/Decoding Unicode and Writing CSV
body: <p>I am trying to write words of non-latin based languages to a CSV and cannot get the words to be written in their proper form.</p>
  
  <pre><code>foreign='а также'
  with open('C:\\Users\\Lance\\Desktop\\Programs\\Database Builder\\Russian Test.csv', 'wb') as outfile:
      outfile.write((foreign).encode('utf-8'))
  </code></pre>
  
  <p>The output of this code is:</p>
  
  <p>Ð° Ñ‚Ð°ÐºÐ¶Ðµ</p>
  
  <p>Thanks!</p>