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

From: 阎兆珣 <yanzhaoxun(at)greendh(dot)com>
To: Haribabu Kommi <kommi(dot)haribabu(at)gmail(dot)com>
Cc: pgsql-bugs <pgsql-bugs(at)postgresql(dot)org>
Subject: Re:Re: [BUGS] language code incompatibility in Windows
Date: 2016-09-08 01:04:18
Message-ID: 164099496.169127.1473296658353.JavaMail.root@wmthree-9
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs


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(dot)haribabu(at)gmail(dot)com"

To: "阎兆珣 yanzhaoxun(at)greendh(dot)com"

CC: "pgsql-bugs pgsql-bugs(at)postgresql(dot)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(at)greendh(dot)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(at)localhost bin]$ ./createdb 阎兆珣


[kommih(at)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


Browse pgsql-bugs by date

  From Date Subject
Next Message Richa Rathore 2016-09-08 07:35:09 Want a routine vacuum for postgres
Previous Message Martin Dubé 2016-09-07 18:34:29 Re: Email parsing in Text Search