Re: [pgAdmin4][Patch]: RM1822 - 'ascii' codec can't decode byte - Mailing list pgadmin-hackers

From Dave Page
Subject Re: [pgAdmin4][Patch]: RM1822 - 'ascii' codec can't decode byte
Date
Msg-id CA+OCxozfEF1RWhk6zbrXLMpwm5Zvyeqd+80FT9d-736myfS+rw@mail.gmail.com
Whole thread Raw
In response to [pgAdmin4][Patch]: RM1822 - 'ascii' codec can't decode byte  (Surinder Kumar <surinder.kumar@enterprisedb.com>)
List pgadmin-hackers
Thanks, patch applied.

On Thu, Oct 20, 2016 at 4:40 PM, Surinder Kumar
<surinder.kumar@enterprisedb.com> wrote:
> 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
>
>
> --
> Sent via pgadmin-hackers mailing list (pgadmin-hackers@postgresql.org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgadmin-hackers
>



--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


pgadmin-hackers by date:

Previous
From: Dave Page
Date:
Subject: pgAdmin 4 commit: Handle non-ascii responses from the server when conne
Next
From: Murtuza Zabuawala
Date:
Subject: PATCH: To raise an error if background job fails to start (pgAdmin4)