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

2016-10-21 Thread Dave Page
Thanks, patch applied.

On Thu, Oct 20, 2016 at 4:40 PM, Surinder Kumar
 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


-- 
Sent via pgadmin-hackers mailing list (pgadmin-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgadmin-hackers


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

2016-10-20 Thread Surinder Kumar
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


RM1822.patch
Description: Binary data

-- 
Sent via pgadmin-hackers mailing list (pgadmin-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgadmin-hackers