Thread: Re:Re: [BUGS] language code incompatibility in Windows

Re:Re: [BUGS] language code incompatibility in Windows

From
阎兆珣
Date:

Hi Haribabu,


 I know it works well in Linux, but it does not in Windows. 


 The SQL shell is "command prompt" in Windows - it is the "SQL Shell(psql)" installed by postgres package apart from pgAdmin III. The picture shows two programs at Chinese character issue - one can recognize them and one cannot.

格林大华期货

金融衍生品部

阎兆珣

010-56711783

Q: 3130553720

Zhaoxun Yan          

Option Product Manager

Gelin Dahua Futures Co.Ltd

 T: +86 10 56711783


From: "Haribabu Kommi <kommi.haribabu@gmail.com>"

To: "阎兆珣 <yanzhaoxun@greendh.com>"

CC: "pgsql-bugs <pgsql-bugs@postgresql.org>"

Sent: 2016-09-07 16:32

Subject: Re: [BUGS] language code incompatibility in Windows



On Wed, Sep 7, 2016 at 1:02 PM, 阎兆珣 <yanzhaoxun@greendh.com> wrote:

Hello!


For PG 9.1 ~ 9.5 in Windows 7 32bit

psql can not recognize Chinese database name while pgAdmin III can.

can you solve this problem?

Thanks



I tried creating a database name with the following characters
and connected to that from psql in linux.

[kommih@localhost bin]$ ./createdb 阎兆珣
[kommih@localhost bin]$ ./psql 阎兆珣
psql (9.5.2)
Type "help" for help.

阎兆珣=# 


I don't have an windows environment to test with Chinese characters.
I don't think is there any platform specific problem. May be you can
try to connect it from a command prompt instead of opening shell
from pgadmin.


Regards,
Hari Babu
Fujitsu Australia