Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bMZUt-0005jg-N1 for pgadmin-hackers@arkaria.postgresql.org; Mon, 11 Jul 2016 11:35:35 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1bMZUt-0000i8-5E for pgadmin-hackers@arkaria.postgresql.org; Mon, 11 Jul 2016 11:35:35 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1bLYJk-0007bd-Qo for pgadmin-hackers@postgresql.org; Fri, 08 Jul 2016 16:07:52 +0000 Received: from mail-wm0-x241.google.com ([2a00:1450:400c:c09::241]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1bLYJf-0002Zo-NU for pgadmin-hackers@postgresql.org; Fri, 08 Jul 2016 16:07:51 +0000 Received: by mail-wm0-x241.google.com with SMTP id x83so7783727wma.3 for ; Fri, 08 Jul 2016 09:07:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:references:to:from:message-id:date:user-agent:mime-version :in-reply-to; bh=Jy3E3DTAFs6jy+eP4j1FUwtCdzE0Wd5gHrUMe+djo4w=; b=XPfHSU33k6Nod1J49x3UJVRrqwpttZn/zfwf1x++1f5rDuwoC+YEFI6LxjJPIZiP9l 0o9xw7ziRP9ME2oG4vfSCWMMcupze+E1FhxipFTiNmdJKB4s7Gr8EROsbWE2TVvRjpIJ CTy8IWXp0GrA11ot0ba1xqC7oVlZtcvztyjXPjxFnkaMY/E0LynL+uHrry1itmCTvLRU 8C7ADN0swxVHu79/rj4MCI+x+NRDXMwDAv83QQnvXvHjKYXRgV985RCn7sogk4dU8GCs K7J3aHZposY4iQgjvOEepIrETk+X7vmKVVCU/cXdvE4QgUKFIoeonaxpVysFzeBvdJcR Yy4g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:references:to:from:message-id:date :user-agent:mime-version:in-reply-to; bh=Jy3E3DTAFs6jy+eP4j1FUwtCdzE0Wd5gHrUMe+djo4w=; b=QLE7LcQPDlKt/r6BWRVmXGZ1HzJ2fogGAO4/BKSXrldVLBFvB1YQMWEh3JwglH3P9w sdckUfV1cGsydJnYyVhkt+xVje/ug6qyKjm7Wf0qZLpudQL7BZxzAQ3fz79YFES3+8l6 nSR1+680DVFZK5qfddCqgwXG0AHzqDdtCowXah3p5uSZZXdW2VkD4aFsFmwbqHgsk4qb Tq/D3PuGcxKJlRMpdPQ9vdreow8WHmGeY97Urueh1/J+3R7VzJ7LLXh7O1d2Sj66G/Bf irCSw30CbbpNh6Zd/+yiV9tO1iGEX5TY1CPx1n5dBUjSvwQn+UGwABuTcomBAsQ21Ht3 H5Yg== X-Gm-Message-State: ALyK8tIDg+z/bBj1bu1cPdqK7iIpk2sY0CSRTdVEaAT+Stg2kufCkEN5spJijTv36Yw0Yg== X-Received: by 10.194.87.68 with SMTP id v4mr6019655wjz.180.1467994066051; Fri, 08 Jul 2016 09:07:46 -0700 (PDT) Received: from [0.0.0.0] (atlantic480.us.unmetered.com. [188.138.9.49]) by smtp.gmail.com with ESMTPSA id b187sm3691982wmg.15.2016.07.08.09.07.43 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 08 Jul 2016 09:07:44 -0700 (PDT) Subject: Re: [Patch] Fix Unicode in errmsg References: <2048fa7e-7563-3edd-db2c-d58b97b98bee@gmail.com> To: pgadmin-hackers@postgresql.org From: "Magnun Leno (Pessoal)" Message-ID: Date: Fri, 8 Jul 2016 13:07:40 -0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.1.1 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/mixed; boundary="------------95303F49597C0FE42D83AAB3" X-Pg-Spam-Score: -2.7 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgadmin-hackers Precedence: bulk Sender: pgadmin-hackers-owner@postgresql.org This is a multi-part message in MIME format. --------------95303F49597C0FE42D83AAB3 Content-Type: multipart/alternative; boundary="------------CBA06CE24B21520CA6AAEC6F" --------------CBA06CE24B21520CA6AAEC6F Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit 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 > 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) > > 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 > > --------------CBA06CE24B21520CA6AAEC6F Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 7bit

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


--------------CBA06CE24B21520CA6AAEC6F-- --------------95303F49597C0FE42D83AAB3 Content-Type: application/x-bzip; name="fix_unicode_servername_input.patch.tar.bz2" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="fix_unicode_servername_input.patch.tar.bz2" QlpoNjFBWSZTWd3e61MAAcD/kv4yAQBg7//3bddNCv///+QEAAgAAAhAAt22 1G0q0ISkEoxPETTI/SGk9RtNINNNPUAMjRgjIaA0IE9Rkmp5QMhoDIZDQGgA ADQA4yZNGIaaGAmhiaNMmIGRhNGmmEGTCSQgTI1PKeNUxPVGyjQ9QAyGgNGg 0HqeptTqPjhl3hVKJEIB1vAc9MkQ47kPZtcWDiIG6SGfNM1zb+lRBz4isOCt AJ5RQiBJoBgQAcuz2QvDtPAIF3aME17S4bn2aW7PnRlCEr28Mq7etlhY2z9R yW7RGVZ64Q8rgZ+icOB19AWAxjl1Fx58n97xK9XMRP8MDqIR822plQEFv4oF VQa40oQw+Y8l64DkUwNVRhmFAnDLXq5NHLwhrDC14GOKHflHa0Igj9olRQ4a zDwBsHOAwX0LDjPFloIOeuRzXkYznW4NFL7rAhlegguVMGibJ7r2mRi6bWo1 bKuOuNMGRqNGGuVvwibYMVBm1wUnCy1PElbiDoIJPonksA6aeVY2EhJdPWvp rGzDr0ikUcxkJB8eAIx4w6PhrT9XdTI0L4rWoHva+VhvC7PgQchkQhRPROeV t3RNFgKjOO2d3oRoDqxP0yzLpo9ZSgjZ92RTJ6kUvnEg5mB/ahpZn1ig8ldT F42i6ayezlCgFDotIjAZlVYmeqIFqzjBaqwVqtFbB64uX0QkYh+SwMH6gaq8 m1gXZKkyrZDmGIJktcjApXaQyfO56L2lpM7IYj+UBA68gqTF3b4VaUyFxGUI n3s2wNVEFO3HHEhxwoRMzRJXVZUbYdMgTWVY53jW4jAwOxvAY68dtkolYQkU yogE5A343NacHoQiDDSNFAsGoBUB+BiqkdzakSZDVECZJVZkX+hFD0ZiApAV jCDLP7grA4uSXTeBU95ebkyONEl0qFi60tNAYIzg+yg8SGfbFDcJ4UZomDgU 9dbmBNF6KZkEjLNKTzxb37N6F2UhXpER4L4U74morSKwiEakPwJkLkA/pBf4 u5IpwoSG7vdamA== --------------95303F49597C0FE42D83AAB3 Content-Type: text/plain Content-Disposition: inline Content-Transfer-Encoding: 8bit MIME-Version: 1.0 -- Sent via pgadmin-hackers mailing list (pgadmin-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgadmin-hackers --------------95303F49597C0FE42D83AAB3--