| From: | Dave Page <dpage(at)pgadmin(dot)org> |
|---|---|
| To: | Surinder Kumar <surinder(dot)kumar(at)enterprisedb(dot)com> |
| Cc: | pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org> |
| Subject: | Re: [pgAdmin4][Patch]: RM1822 - 'ascii' codec can't decode byte |
| Date: | 2016-10-21 13:32:35 |
| Message-ID: | CA+OCxozfEF1RWhk6zbrXLMpwm5Zvyeqd+80FT9d-736myfS+rw@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgadmin-hackers |
Thanks, patch applied.
On Thu, Oct 20, 2016 at 4:40 PM, Surinder Kumar
<surinder(dot)kumar(at)enterprisedb(dot)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(at)postgresql(dot)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
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Murtuza Zabuawala | 2016-10-21 13:40:53 | PATCH: To raise an error if background job fails to start (pgAdmin4) |
| Previous Message | Dave Page | 2016-10-21 13:32:28 | pgAdmin 4 commit: Handle non-ascii responses from the server when conne |