Обсуждение: [pgAdmin][Patch] RM3767 - pgAdmin4 loses the file format

Поиск
Список
Период
Сортировка

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

От
Yogesh Mahajan
Дата:
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
Вложения

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

От
Akshay Joshi
Дата:
Thanks, patch applied.

On Thu, Jul 30, 2020 at 5:43 PM Yogesh Mahajan <yogesh.mahajan@enterprisedb.com> wrote:
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


--
Thanks & Regards
Akshay Joshi
pgAdmin Hacker | Sr. Software Architect
EDB Postgres
Mobile: +91 976-788-8246