Answers for "python psycopg2 utf8"

1

python psycopg2 utf8

#Make sure you're using the right encodind by running:
print conn.encoding

#and if you need, you can set the right encoding by
conn.set_client_encoding('UNICODE')
#or
conn.set_client_encoding('UTF8').
Posted by: Guest on January-25-2021

Python Answers by Framework

Browse Popular Code Answers by Language