title: UnicodeEncodeError, can't seem to set errors='ignore'
body: <p>I'm fairly new to Python, so I'm hoping this is something simple that I'm just missing.</p>
  
  <p>I'm running Python 2.7 on Windows 7</p>
  
  <p>I'm trying to run a basic twitter scraping program through the command line.  However I keep getting the following error:</p>
  
  <pre><code>File "C:\Python27\lib\encodings\cp437.py", line 12, in encode
      return codecs.charmap_encode(input,errors,encoding_map)
  UnicodeEncodeError: 'charmap' codec can't encode character u'\u2019' in position 79: character maps to (undefined)
  </code></pre>
  
  <p>I understand basically what's happening here, that it's trying to print to the console in cp437 and it's getting confused by the unicode characters in the tweets that it's grabbing.</p>
  
  <p>All I'm trying to do is either get it to replace those characters with "?" or just get it to drop those characters altogether.  I have read a bunch of posts about this and I can't figure out how to do it.</p>
  
  <p>I opened the cp437.py file that's referenced in the error and I changed all the <code>errors='strict'</code> to <code>errors='ignore'</code> but that didn't solve the problem.</p>
  
  <p>I then tried to go into the C:\Python27\Lib\codecs.py file and change all the <code>errors='strict'</code> to <code>errors='ignore'</code> but that didn't solve the problem either.</p>
  
  <p>Any ideas?  Like I said, hopefully I'm just missing something basic but I've read a bunch of posts on this and I can't seem to puzzle it out.</p>
  
  <p>Thanks a lot.
  Seth</p>