PostgreSQL: encoding problems on Windows when using psql command line utility

后端 未结 1 1159
南笙
南笙 2020-11-29 23:12

I\'m working in a centralized monitoring system on Windows 2008 R2, I have installed a PostgreSQL 9.3 to use psql from the command line.

When I try

相关标签:
1条回答
  • 2020-11-30 00:01

    Thanks a lot Craig Ringer, works, finally works! You are my new idool now!

    The steps are:

    1. open the cmd
    2. SET PGCLIENTENCODING=utf-8
    3. chcp 65001
    4. psql -h your.ip.addr.ess -U postgres
    0 讨论(0)
提交回复
热议问题