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

Поиск
Список
Период
Сортировка
От Surinder Kumar
Тема Re: [pgAdmin4][Patch]: Fixes #1986 - Properly handle non-ascii characters while loading & saving file
Дата
Msg-id CAM5-9D_vE2BdhkRxGH_M-KMnLhveUaUCFje0CrSs_XQ9AaEyBw@mail.gmail.com
обсуждение исходный текст
Ответ на [pgAdmin4][Patch]: Fixes #1986 - Properly handle non-ascii characters while loading & saving file  (Surinder Kumar <surinder.kumar@enterprisedb.com>)
Ответы Re: Re: [pgAdmin4][Patch]: Fixes #1986 - Properly handle non-ascii characters while loading & saving file  (Dave Page <dpage@pgadmin.org>)
Список pgadmin-hackers
Please ignore above patch. because it breaks when we save a file with name containing ascii chars in py35
It is fixed. Please find attached patch and review.

On Thu, Nov 24, 2016 at 2:56 PM, Surinder Kumar <surinder.kumar@enterprisedb.com> wrote:
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. I will work on it.

Please find attached path and review.


Thanks,
Surinder Kumar



Вложения

В списке pgadmin-hackers по дате отправления:

Предыдущее
От: Murtuza Zabuawala
Дата:
Сообщение: PATCH: To fix issue in database node (pgAdmin4)
Следующее
От: Harshal Dhumal
Дата:
Сообщение: Re: Patch for RM1911 Direct file navigation [pgAdmin4] [Feature]