[pgAdmin4][Patch]: Fixes #1940 - Handle non-ascii characters in file/folder names

Поиск
Список
Период
Сортировка
От Surinder Kumar
Тема [pgAdmin4][Patch]: Fixes #1940 - Handle non-ascii characters in file/folder names
Дата
Msg-id CAM5-9D-MbhJHNeJRpNRGwr-mxvSKrKMTwDu7p-A9Ju6NMOh6Yg@mail.gmail.com
обсуждение исходный текст
Ответы Re: [pgAdmin4][Patch]: Fixes #1940 - Handle non-ascii characters in file/folder names  (Dave Page <dpage@pgadmin.org>)
Список pgadmin-hackers
Hi

This patch handles encode/decode issues for files names when following operations are performed such as "create/rename/delete/download/upload" or browsing a file etc.

Changes in code:
1) Removed cleanstring() js function which converts ascii characters into its alphabetical characters.
We support ascii characters for file/folder name.
2) Read/Write file in bytes mode(rb/wb) as file need not be always text file.
3) The title of query tab is currently shown encoded, it should be decoded while displaying in tab title.

Please find attached patch and review.


Thanks,
Surinder Kumar
Вложения

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

Предыдущее
От: Harshal Dhumal
Дата:
Сообщение: Re: Patch for RM1911 Direct file navigation [pgAdmin4] [Feature]
Следующее
От: Neel Patel
Дата:
Сообщение: [Patch]: RM#1979 - Editing Function Issues