Thread: Help message of PostgreSQL-win-x64 is UTF-8 encoded which is malformed

Help message of PostgreSQL-win-x64 is UTF-8 encoded which is malformed

From
LiuYan
Date:
I downloaded both postgresql-9.1.1-1-windows-x64-binaries.zip and
postgresql-9.1.1-1-windows-binaries.zip, running on Simplified Chinese
Windows XP Professional x64.

The output of `psql --help`(x64) is UTF-8 encoded, they will be displayed as
malformed characters in command prompt window.
    psql --help
    psql鏄疨ostgreSQL 鐨勪氦浜掑紡瀹㈡埛绔伐鍏枫€?浣跨敤鏂规硶:

The output of `psql --help`(win32) is GBK encoded, which will be displayed
normally.
    psql --help
    psql是PostgreSQL 的交互式客户端工具。

Is it a bug of PostgreSQL win-x64?

--
View this message in context:
http://postgresql.1045698.n5.nabble.com/Help-message-of-PostgreSQL-win-x64-is-UTF-8-encoded-which-is-malformed-tp4861320p4861320.html
Sent from the PostgreSQL - general mailing list archive at Nabble.com.