Thread: psql output in Japanese Code Page

psql output in Japanese Code Page

From
"Abraham, Danny"
Date:
Hi,

While under Code Page 932 (=Japanese) the old PSQL 9.5.5 - used to talk plain English, like in \d <table name>

This behavior has changed in PSQL 10. We are now forced to run "chcp 1252" before any PSQL activity.

Does anyone know about it? Any suggestions?

I tried \encoding WIN1252. Did not work.

Thanks

Danny Abraham


Re: psql output in Japanese Code Page

From
Tatsuo Ishii
Date:
> Hi,
> 
> While under Code Page 932 (=Japanese) the old PSQL 9.5.5 - used to talk plain English, like in \d <table name>
> 
> This behavior has changed in PSQL 10. We are now forced to run "chcp 1252" before any PSQL activity.
> 
> Does anyone know about it? Any suggestions?
> 
> I tried \encoding WIN1252. Did not work.

What's your database encoding? (\l command on psql prompt will show it).
Also what's the result of chcp (with no argument).

Best regards,
--
Tatsuo Ishii
SRA OSS, Inc. Japan
English: http://www.sraoss.co.jp/index_en.php
Japanese:http://www.sraoss.co.jp