psqlrc.conf ファイルを次のように設定しましたが、psql コンソールの出力は判読できない単語で非常に奇妙に見えます。私の psqlrc.conf ファイルの何が問題なのか誰か知っていますか? のように、コマンド ラインで環境を utf-8 に設定する必要がありSET PGCLIENTENCODING=utf-8
ますか?
**Here is psqlrc.conf file:**
\set ON_ERROR_STOP on
\set HISTCONTROL ignoredups
\set COMP_KEYWORD_CASE upper
\set VERBOSITY verbose
-- Output Fomatting
\x auto
\pset linestyle unicode
\pset border 2
\pset format wrapped
\pset pager off
\timing
**Here is psql console output:**
INSERT 0 87
Time: 613.572 ms
┌─[ RECORD 1 ]───┬──────â”
│ time │ 727 │
│ demo_groups │ 6 │
│ row_count │ 2124 │
├─[ RECORD 2 ]───┼──────┤
│ time │ 728 │
│ demo_groups │ 6 │
│ row_count │ 2125 │
├─[ RECORD 3 ]───┼──────┤