title: Python character encoding issue
body: <p>I made a script to download a few pages from a server using BeautifulSoup. I am writing the output to a .csv file. I am using python 2.7.2</p>
  
  <p>I get the following error at some point: </p>
  
  <pre><code>Traceback (most recent call last):
    File "parser.py", line 114, in &lt;module&gt;
      c.writerow([title,description,price,weight,category,subcategory])
  UnicodeEncodeError: 'ascii' codec can't encode character u'\xb7' in position 61: ordinal not   in range(128)
  </code></pre>
  
  <p>The page I am downloading from (I checked the exact page) doesn't seem to have any weird characters. </p>
  
  <p>I tried some of the solutions from the similar questions. I tried decoding like this: </p>
  
  <pre><code>content.decode('utf-8','ignore')
  </code></pre>
  
  <p>but it did not work. </p>
  
  <p>As pointed out in <a href="https://stackoverflow.com/questions/7219361/python-and-beautifulsoup-encoding-issues">Python and BeautifulSoup encoding issues</a> . I checked the website source and it doesn't have any specified meta data either. I also tried using the ''chardet'' as suggested in <a href="https://stackoverflow.com/questions/1495627/how-to-download-any-webpage-with-correct-charset-in-python?lq=1">How to download any(!) webpage with correct charset in python?</a> however the urlread() method doesn't seem to work. I tried with urlopen() instead and it crashed. </p>
  
  <p>How can I proceed with this? </p>