Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

PostgreSql: 'utf8' codec can't decode byte 0xe9 in position 42: invalid continuation byte

I recently installed PostgreSql and I am trying to create a new database. Unfortunetly I got and error while creating the database:

"'utf8' codec can't decode byte 0xe9 in position 42: invalid continuation byte" enter image description here

What is the problem exactly thank you

like image 600
narcisse Avatar asked Aug 26 '17 16:08

narcisse


2 Answers

Try to add the following line at the end of the pg_hba.conf file and then restart the PostgreSQL service:

host    all             all             all                 md5
like image 68
zesage Avatar answered Oct 21 '22 20:10

zesage


I had a similar error when upgrading from 4.5 to 4.7, the solution was to restart the pgAdmin server.

My error was: Error: 'utf-8' codec can't decode byte 0xe9 in position 0: invalid continuation byte

like image 38
Walter D Avatar answered Oct 21 '22 20:10

Walter D