I use Python to connect to my postgresql data base like this:
conn=psycopg2.connect(database=\"fedour\", user=\"fedpur\", password=\"***\", host=\"127.0.0.1\
Does the value get inserted correctly when query is executed via command prompt?
If yes, then the problem is with your cursor execution.Try cur.execute(u"querystring");
(The u indicates utf encoding)
If no, then you need to set the encoding type of postgres to consider utf-8. You can refer character encoding in Postgres to see how to set default character encoding for a database, and on-the-fly conversion from one encoding to another.