[pgAdmin4][PATCH] Handling of non-ascii with Python2.7

From: Murtuza Zabuawala <murtuza(dot)zabuawala(at)enterprisedb(dot)com>
To: pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org>
Subject: [pgAdmin4][PATCH] Handling of non-ascii with Python2.7
Date: 2017-02-13 06:42:47
Message-ID: CAKKotZTJEA5+9pt0jCZB-KCSKEdoCzy9Zx2S7iqTa1vRdjqbpQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

Hi,

PFA patch to fix the issue where user enters non ascii username/password
(invalid credentials) while creating new server and it throws error.
RM#2160

This patch also includes some other minor fixes for the same issue in some
other files where we are passing error to gettext() if it includes non
ascii words then it breaks in Python2.7.

--
Regards,
Murtuza Zabuawala
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

Attachment Content-Type Size
RM_2160.diff text/plain 7.3 KB

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Dave Page 2017-02-13 10:02:23 pgAdmin 4 commit: Basic support for viewing tables in Greenplum. Patch
Previous Message Dave Page 2017-02-10 22:42:47 pgAdmin 4 commit: Ensure that PYTHONHOME is set for sub-processes such