title: Why is Python's .decode('cp037') not working on specific binary array?
body: <p>When printing out DB2 query results I'm getting the following error on column 'F00002' which is a binary array.</p>
  
  <pre><code>UnicodeEncodeError: 'ascii' codec can't encode character u'\xe3' in position 2: ordinal not in range(128)
  </code></pre>
  
  <p>I am using the following line:</p>
  
  <p><code>print result[2].decode('cp037')</code> </p>
  
  <p>...just as I do the first two columns where the same code works fine. Why is this not working on the third column and what is the proper decoding/encoding?</p>
  
  <p><img src="https://i.stack.imgur.com/AgBM7.jpg" alt="enter image description here">
  <img src="https://i.stack.imgur.com/I6PQz.jpg" alt="enter image description here"></p>