Hello, i am using py-postgresql as the driver the database, when make a select to a string with non-ASCII characters, the response replace the character with "�" what can i make to change this to the correct character?<br>
<br>This is my code:<br><br><code>class decodify:<br><br>    def __init__(self):<br>        db = pgDriver.connect(user = 'demo', password='demo' database='hidura_karinapp', host='localhost', port='5432')<br>
        d = db.prepare("""SELECT modules_reg.code FROM modules_reg, domain_reg, sbdomain_reg, sbdomdl_asc where(<a href="http://modules_reg.id">modules_reg.id</a> = sbdomdl_asc.module AND modules_reg.mdname = 'police' AND <a href="http://sbdomain_reg.id">sbdomain_reg.id</a> = sbdomdl_asc.domain AND sbdomain_reg.domain = <a href="http://domain_reg.id">domain_reg.id</a> AND domain_reg.dname = '<a href="http://bmsuite.com">bmsuite.com</a>' AND sbdomain_reg.sbname = 'www')""")<br>
        s = d()<br>        print(s)<br><br>if __name__ == '__main__':<br>    decodify()</code><br><br>-- <br>Diego I. Hidalgo D.<br>