[pgAdmin][Patch] RM3767 - pgAdmin4 loses the file format

From: Yogesh Mahajan <yogesh(dot)mahajan(at)enterprisedb(dot)com>
To: pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org>
Subject: [pgAdmin][Patch] RM3767 - pgAdmin4 loses the file format
Date: 2020-07-30 12:12:45
Message-ID: CAMa=N=M5HG4vUAVNcooopOzQXr0USO1D+B_EGKA7rDTRRB_csA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

Hi,

Please find an attached patch which enables pgAdmin to retain original file
format while saving the same file in SQL-Editor.
However, if a new file is created with the 'Save as' option, a new fill
will be created with utf-8 encoding.
After editing the file having encoding 'UTF-8 with BOM' from SQL-editor,
the file was getting saved with 'UTF-8' encoding.
Now pgAdmin will retain the original encoding of 'UTF-8 with BOM'.

Thanks,

Yogesh Mahajan
QA - Team
EnterpriseDB Corporation

Phone: +91-9741705709

Attachment Content-Type Size
RM3767_v1.patch application/octet-stream 1.9 KB

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Dave Page 2020-07-30 14:52:12 Re: WIP: SQL Formatter
Previous Message Aditya Toshniwal 2020-07-30 09:23:20 Re: WIP: SQL Formatter