F
F
faramozzayw2019-01-02 20:36:41
PostgreSQL
faramozzayw, 2019-01-02 20:36:41

How to "fix" psql encoding?

In general, should I fix this so that psql is always in English? How to do this?
5c2cf6527d75f150635354.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
vreitech, 2019-01-02
@faramozzayw

on the command line before starting psql, type chcp 1251.
or better yet, use ru_RU.UTF-8 as LC_COLLATE in postgres, and use chcp 65001.
you can also check out https://superuser.com/questions/269818/change-defa...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question