Re: [Patch] Fix Unicode in errmsg - Mailing list pgadmin-hackers

From Magnun Leno (Pessoal)
Subject Re: [Patch] Fix Unicode in errmsg
Date
Msg-id d9ddf1d3-8a88-d5a0-40cc-da2b46596513@gmail.com
Whole thread Raw
In response to Re: [Patch] Fix Unicode in errmsg  (Ashesh Vashi <ashesh.vashi@enterprisedb.com>)
Responses Re: [Patch] Fix Unicode in errmsg  (Dave Page <dpage@pgadmin.org>)
Re: [Patch] Fix Unicode in errmsg  (Ashesh Vashi <ashesh.vashi@enterprisedb.com>)
List pgadmin-hackers

Just found another decoding error, this time during server group creation. Path attached.

Thanks again.

---

Magnun Leno

Em 07-07-2016 08:39, Ashesh Vashi escreveu:
Sure - I will do.

--

Thanks & Regards,

Ashesh Vashi
EnterpriseDB INDIA: Enterprise PostgreSQL Company


http://www.linkedin.com/in/asheshvashi


On Thu, Jul 7, 2016 at 2:31 PM, Dave Page <dpage@pgadmin.org> wrote:
Thanks Magnun.

Ashesh, can you review this please, and check if similar changes are
needed elsewhere?

Thanks.

On Wed, Jul 6, 2016 at 7:55 PM, Magnun Leno (Pessoal)
<magnun.leno@gmail.com> wrote:
> Hi All,
>
> Just a small patch to fix server addition/connection errors when using
> non-ascii languages (pt_BR in my case). I haven't delved enough into the
> codebase to be sure, but there might be more occurrences of errmsg that need
> decoding from ASCII to UTF-8.
>
> Is there any plans to port PgAdmin4 to Python3, since Python 2 will only be
> maintained until 2020? Python 3 support was added in Flask 0.10 and, as
> mentioned in the Flask Docs, "Most libraries and Flask extensions have been
> ported by now and using Flask with Python 3 is generally a smooth ride.".
>
> Thanks for this amazing piece of software.
>
> --
> Magnun Leno
>
>
> --
> 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


Attachment

pgadmin-hackers by date:

Previous
From: Ashesh Vashi
Date:
Subject: Re: PATCH: To fix salt generation in session.py
Next
From: Dave Page
Date:
Subject: Re: [Patch] Fix Unicode in errmsg