title: How to bypass UnicodeDecodeError in python module, pytds
body: <p>The <code>pytds</code> module throws the following error when retrieving a certain record from my MSSQL database:</p>
  
  <pre><code>UnicodeDecodeError: 'charmap' codec can't decode byte 0x9d in position 97: character maps to &lt;undefined&gt;
  </code></pre>
  
  <p>I've found other solutions for fixing this using the <code>open()</code> command in Python, but none for the <code>pytds</code> module.</p>
  
  <p>Are there any ways to bypass this error or handle it on a per record basis?</p>