Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bL5CI-00020U-TO for pgadmin-hackers@arkaria.postgresql.org; Thu, 07 Jul 2016 09:02:15 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1bL5CI-0004Db-8R for pgadmin-hackers@arkaria.postgresql.org; Thu, 07 Jul 2016 09:02:14 +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 1bL5C5-0003zJ-GO for pgadmin-hackers@postgresql.org; Thu, 07 Jul 2016 09:02:01 +0000 Received: from mail-io0-x233.google.com ([2607:f8b0:4001:c06::233]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1bL5Bx-0004xe-Tk for pgadmin-hackers@postgresql.org; Thu, 07 Jul 2016 09:02:00 +0000 Received: by mail-io0-x233.google.com with SMTP id i186so15363742iof.1 for ; Thu, 07 Jul 2016 02:01:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pgadmin-org.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=JY+dY5lA1HFlE3Ru5fPKNZnOxGoTDofH6rbwc3FavLk=; b=LVE4UGGjHwjzLskfunyxaK42o5RgmniGKX5RQaungNRyXKc+cDUW+5JLtOxau+8RgH DPRYCK5Z5afKsnoApBM+1NQBrqpRwCcGdKBw1NmZv6Eyvj75F3YIr9BDndEbpxbe0Fsd xwR91SG5GcidwkKeRDHO6fbRZwsdhOOLtq6wjXAyNjMid6Cc1CZAJ0itOHHVBIP6E+/i L0Kq81c/2MyRGGNkZJAik/9gL7XidtHgXI4KeR9taJ4HHZXDCwgdT9hEzvbRZSsFrBR8 JeZ+O4inhz9LcO+FVDLJtzOybXvb5JqEx9UqTj/CGKqtC3/hajDMAY4Rk4RK6Rsgy3qU p8qw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=JY+dY5lA1HFlE3Ru5fPKNZnOxGoTDofH6rbwc3FavLk=; b=iPdtAvr2Si7weNlYcXR4UfMH96sI+XVd4rrc7GGM799oZtgsabTttdCfo989I7h909 yALkQeh8fotfsnuUfJNcKIBI9pkfIdg4JIyBqbMFaJMq+dBuKyMrNGZknFiq1ALr+ToU 9ZEgusGa4CpwFBrv7e6wC58kE8WZdhYa4sF62rgJMUUIY/I77Qxxefn3o36S0DoYZ1RS ttIHyWC1mAISUNCTB1hdizODIggAuQrG4SrNPH9TM4BgYa6ucwr+uXeEh9zD7MA4GZ/x n8dV0w1F05GQpoYSlFTR7P9fwElycBYgDN5/yGikWYxVh79aVGiAHsI1wfLJQ3d0h/Q2 ruWw== X-Gm-Message-State: ALyK8tIMsK3okdU6WevqsYrAL2ZQyMdXjXbCfK8Yn8JlgV5+O7kEKBbdH1h0JaacHsSHT3ehHP9BY5I+CYgFLg== X-Received: by 10.107.205.129 with SMTP id d123mr1531712iog.70.1467882111211; Thu, 07 Jul 2016 02:01:51 -0700 (PDT) MIME-Version: 1.0 Received: by 10.64.24.208 with HTTP; Thu, 7 Jul 2016 02:01:50 -0700 (PDT) In-Reply-To: <2048fa7e-7563-3edd-db2c-d58b97b98bee@gmail.com> References: <2048fa7e-7563-3edd-db2c-d58b97b98bee@gmail.com> From: Dave Page Date: Thu, 7 Jul 2016 10:01:50 +0100 Message-ID: Subject: Re: [Patch] Fix Unicode in errmsg To: "Magnun Leno (Pessoal)" Cc: pgadmin-hackers , Ashesh Vashi Content-Type: multipart/mixed; boundary=94eb2c18a9c2d05304053707efd0 X-Pg-Spam-Score: -2.6 (--) 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 --94eb2c18a9c2d05304053707efd0 Content-Type: text/plain; charset=UTF-8 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 --94eb2c18a9c2d05304053707efd0 Content-Type: application/x-bzip; name="fix_unicode_pgadmin4.patch.tar.bz2" Content-Disposition: attachment; filename="fix_unicode_pgadmin4.patch.tar.bz2" Content-Transfer-Encoding: base64 X-Attachment-Id: ec6745729cafb6eb_0.1 QlpoNjFBWSZTWe3RyVYAAYL/kNp2IQBI7//3b9fNiv/33+QEAAAIQAJq53OB zAkoQRk01D0aMp6KPUeoep6TPVManqNNA08U09R6antKCUknkZGgFHppDRkD QGgAAAAAaETRJ5TTQ00aANGhkAAAAGgMQAJJFTzUaEZNppA8o0DIGmg0yAAA aDRsPDBxlYEcACxvBtcggTkP49WBGVj7aWDKed84P23NWzWwPiZCBKVjBy0I ZIBAIHqRSkTDSeOLYH4oYszbX8sn5Ntjt1JcN+qPz4q27zoeKbT9GL+0G+KD QZHUY47c9VzPOYCMkTFZq+AdEQv3spCqNHtOe4+gumm2iETMRBKPyatvYuEv LYddrfCJJjQRGh6IIejI8aveCyMGNopLecdy5QktHRCgGTQkYES7ILpEBUQO AiqJREikMx1CzlHDLKyJQ7OVcZY2RpefO7SVbfmY8q3GyDp7YMZcoswPhGQl MEc1M6y7JJl5dCxRHDEp31G3gvqt2l7NZFZ53UjKh2MMY+dfjt1EUEHpZxdC fl4MxIao/KsgWki1utmEafqtFKNaGQIciBp3TWjnqyDWe7tF04zaw8Lssek0 ope6KryIRl3N67MKM/MYVciXCMZ1t76hpyXXEx45wLS+PoxCgnRLloPfzDz6 70crSzJwle8pJv9fXG3oQ1Il3bmjkPEIMBTAyKok3S/h6+YW3JYkRipd01fT uiDOiGc+A0sNl6HqJuWsWXFIh6cvsvXUa4q+qi8MVOVlC2aN8mAUyI1CSMOc lbZwyKhZie+kFgzVlBrlQdhpBuhCIRT1+covze4sKKLVpEijQ9wglCrOyJyZ GoinAEqBzLhU1CpCJZWgzdoQrrgQpwoTTEagkzRYS3cq9AhOwa5ThpSxbyw1 /6MJlzITW5PglQCgrB04OQXUKyKqQ7R4N2xP8XckU4UJDt0clWA= --94eb2c18a9c2d05304053707efd0 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 --94eb2c18a9c2d05304053707efd0--