Обсуждение: pgAdmin 4 commit: Handle opening of non-UTF8 compatible files. Fixes#3

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

pgAdmin 4 commit: Handle opening of non-UTF8 compatible files. Fixes#3

От
Dave Page
Дата:
Handle opening of non-UTF8 compatible files. Fixes #3129

Branch
------
master

Details
-------
https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=da7f088508b538651db7a1aee48b3efea593ecd5
Author: Murtuza Zabuawala <murtuza.zabuawala@enterprisedb.com>

Modified Files
--------------
web/pgadmin/tools/sqleditor/__init__.py            | 13 ++----
.../tools/sqleditor/utils/query_tool_fs_utils.py   | 53 ++++++++++++++++++++++
.../utils/tests/test_file_other_encoding.sql       |  2 +
.../utils/tests/test_file_utf8_encoding.sql        |  2 +
.../utils/tests/test_query_tool_fs_utils.py        | 45 ++++++++++++++++++
5 files changed, 105 insertions(+), 10 deletions(-)