title: Pyodbc, conversion values to string
body: <p>sorry for my bad english. I have some code:</p>
  
  <pre><code>import csv, pyodbc
  MDB = 'base.mdb'
  DRV = '{Microsoft Access Driver (*.mdb)}'
  PWD = 'pw'
  con = pyodbc.connect('DRIVER={};DBQ={};PWD={}'.format(DRV, MDB, PWD))
  cur = con.cursor()
  SQL = 'SELECT * FROM Units;' # your query goes here
  rows = cur.execute(SQL).fetchall()
  for row in rows:
      for r in row:
          print str(r)
  cur.close()
  con.close()
  </code></pre>
  
  <p>When i am executing this i have traceback:</p>
  
  <pre><code>print str(r)
  </code></pre>
  
  <p><code>UnicodeEncodeError: 'ascii' codec can't encode characters in position 0-1: ordinal not in</code> <code>range(128)</code></p>
  
  <p>How can i convert this symbolst to string. Thank you for help.</p>