<div dir="ltr"><div>I don't see your python code attempting to md5 the string.</div><div><br></div>Maybe you should try using hashlib?<div><br></div><div><a href="https://docs.python.org/2/library/hashlib.html">https://docs.python.org/2/library/hashlib.html</a></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jun 5, 2015 at 10:27 AM, brian herman <span dir="ltr"><<a href="mailto:bherman@uniqueinsuranceco.com" target="_blank">bherman@uniqueinsuranceco.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  

    
  
  <div text="#000000" bgcolor="#FFFFFF">
    I have a python application that uses pysimplesoap to send a soap
    request to windows.<br>
    The problem is the password field is not encoded in UTF-8 it may use
    Windows-1252?<br>
    Python Code<br>
    <a href="https://gist.github.com/brianherman/209af7751444ec308e1b" target="_blank">https://gist.github.com/brianherman/209af7751444ec308e1b</a><br>
    Visual Basic Sample code (how to encode the password field in visual
    basic)<br>
    <a href="https://gist.github.com/brianherman/b4174b99be9000fcc4f8" target="_blank">https://gist.github.com/brianherman/b4174b99be9000fcc4f8</a><br>
    They use visual basic to encode the password which works. The
    problem is reproducing this in python<br>
    This is the encoded password in the database (microsoft sql server):<br>
    <img src="cid:part1.04080707.02040509@uniqueinsuranceco.com" alt=""><br>
    I have tried using the md5 package in python but I can't seem to get
    the encoding right.<span class="HOEnZb"><font color="#888888"><br>
    <br>
    <div>-- <br>
      <br>
      <div style="font-size:16px"> Brian Herman<br>
        IT Department<br>
        O: <a href="tel:%28773%29299-7557" value="+17732997557" target="_blank">(773)299-7557</a><br>
        <br>
        <a href="https://www.uniqueinsuranceco.com" target="_blank"> <img src="cid:part2.04030604.06050805@uniqueinsuranceco.com" alt="Unique Insurance Company" width="176"> </a><a><br>
          <br>
        </a><a href="http://www.reputation.com/kiosk?key=d41c9b57f18" target="_blank">We
          value your input, please click here to provide feedback on
          Unique Insurance.</a><a>
        </a></div>
    </div>
  </font></span></div>

<br>_______________________________________________<br>
Chicago mailing list<br>
<a href="mailto:Chicago@python.org">Chicago@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/chicago" target="_blank">https://mail.python.org/mailman/listinfo/chicago</a><br>
<br></blockquote></div><br></div>