postgres=# SET client_encoding = SJIS; SET postgres=# SHOW server_encoding; server_encoding ----------------- UTF8 (1 row) postgres=# SHOW lc_time; lc_time --------- C (1 row) postgres=# SELECT to_char(now(), 'TMday'); to_char --------- tuesday (1 row) postgres=# SET lc_time = 'Japanese'; SET postgres=# SELECT to_char(now(), 'TMday'); to_char --------- ‰Î—j“ú (1 row) postgres=# \connect eucdb psql (8.4devel) You are now connected to database "eucdb". eucdb=# SET client_encoding = SJIS; SET eucdb=# SHOW server_encoding; server_encoding ----------------- EUC_JP (1 row) eucdb=# SHOW lc_time; lc_time --------- C (1 row) eucdb=# SELECT to_char(now(), 'TMday'); to_char --------- tuesday (1 row) eucdb=# SET lc_time = 'Japanese'; SET eucdb=# SELECT to_char(now(), 'TMday'); to_char --------- ‰Î—j“ú (1 row)