title: UTF-8 latin-1 conversion issues, python django
body: <p>ok so my issue is i have the string '\222\222\223\225' which is stored as latin-1 in the db.  What I get from django (by printing it) is the following string, 'ââââ¢' which I assume is the UTF conversion of it.  Now I need to pass the string into a function that 
  does this operation: </p>
  
  <pre><code>strdecryptedPassword + chr(ord(c) - 3 - intCounter - 30)
  </code></pre>
  
  <p>I get this error:  </p>
  
  <blockquote>
    <p>chr() arg not in range(256)</p>
  </blockquote>
  
  <p>If I try to encode the string as latin-1 first I get this error:</p>
  
  <blockquote>
    <p>'latin-1' codec can't encode characters in position 0-3: ordinal not
    in range(256)</p>
  </blockquote>
  
  <p>I have read a bunch on how character encoding works, and there is something I am missing because I just don't get it!</p>