[pgAdmin4][Patch]: RM1822 - 'ascii' codec can't decode byte

From: Surinder Kumar <surinder(dot)kumar(at)enterprisedb(dot)com>
To: pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org>
Subject: [pgAdmin4][Patch]: RM1822 - 'ascii' codec can't decode byte
Date: 2016-10-20 15:40:50
Message-ID: CAM5-9D-WUwFhUaSciMdsLp9s+WGbtg8O5-a9vEnuwj4x93f2Pg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

Hi

I am able to reproduce the issue by changing server username to "Суриндер"
in russian locale.
Steps:
1) Rename server username to "Суриндер" by editing server properties.
2) Double click on sever. Enter password in Prompt dialog.
3) Click OK. Now It will throw "UnicodeDecode Error".

I have decoded the error message displayed for python2.

Please find attached patch and review.

Thanks
Surinder Kumar

Attachment Content-Type Size
RM1822.patch application/octet-stream 551 bytes

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Dave Page 2016-10-20 16:10:23 Re: [pgAdmin4][Patch]: Fixed RM 1603 & RM 1220
Previous Message Akshay Joshi 2016-10-20 13:38:00 pgAdmin 4 commit: Fixed issue where some parameter like 'Volatility, Le