How to remove hieroglyphs when connecting PostgreSQL

Question:

Connecting a PostgreSQL database to PyCharm writes with hieroglyphs. What to do?
This is how it looks like:

enter image description here

Asked By: Hulumulula

||

Answers:

psql uses the language from the locale in its environment. Change that to English, and you will have less trouble reading the messages. On a Linux system, you could set the LC_MESSAGES environment variable to C.

Answered By: Laurenz Albe
Categories: questions Tags: ,
Answers are sorted by their score. The answer accepted by the question owner as the best is marked with
at the top-right corner.