[pgAdmin4][Patch]: Fixes #1986 - Properly handle non-ascii characters while loading & saving file

From: Surinder Kumar <surinder(dot)kumar(at)enterprisedb(dot)com>
To: pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org>
Subject: [pgAdmin4][Patch]: Fixes #1986 - Properly handle non-ascii characters while loading & saving file
Date: 2016-11-24 09:26:40
Message-ID: CAM5-9D8L4eUv=E4R77xC=_hh_Yi0jH0=8a9BJMH0+ust9Ocn5Q@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

Hi

*Issue:*
The content will not write to disk if it contains ascii characters.

*Solution:*
Encode/Decode the content before writing/reading the file.

By the way, the file/folder name should also encode/decode, a similar issue
is already logged
#1940 <https://redmine.postgresql.org/issues/1940>. I will work on it.

Please find attached path and review.

Thanks,
Surinder Kumar

Attachment Content-Type Size
RM1986.patch application/octet-stream 2.6 KB

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Murtuza Zabuawala 2016-11-24 09:57:50 PATCH: To fix the issue of column order in Primary Key/Index constraints (pgAdmin4)
Previous Message Dave Page 2016-11-24 09:19:52 pgAdmin 4 commit: Use QT 5.7 by default on Mac, and allow builds with P