<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Am 06-03-2014 11:53, schrieb Aline Manera:<br>
    <blockquote cite="mid:53188BF6.5090308@linux.vnet.ibm.com"
      type="cite">
      <meta content="text/html; charset=ISO-8859-1"
        http-equiv="Content-Type">
      What about always convert to string before to unicode?<br>
      <br>
      if not isinstance(value, unicode):<br>
      &nbsp;&nbsp; args[key] = unicode(<b>str</b>(value), 'utf-8')<br>
      <br>
      That way we guarantee everything will be unicode in the end.<br>
    </blockquote>
    I agree. Regardless of the the parameter type, everything can be
    converted to string (and subsequently to unicode).<br>
  </body>
</html>