psql output in Japanese Code Page

Started by Abraham, Dannyover 7 years ago2 messagesgeneral
Jump to latest
#1Abraham, Danny
danny_abraham@bmc.com

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

#2Tatsuo Ishii
t-ishii@sra.co.jp
In reply to: Abraham, Danny (#1)
Re: psql output in Japanese Code Page

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