Обсуждение: [pgAdmin4][Patch]: RM1822 - 'ascii' codec can't decode byte

Поиск
Список
Период
Сортировка

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

От
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
Вложения

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

От
Dave Page
Дата:
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