pgadmin4/web/pgadmin/utils
Ashesh Vashi f2fc1ceba8 Resolved quite a few file-system encoding/decoding related cases.
In order to resolve the non-ascii characters in path (in user directory,
storage path, etc) on windows, we have converted the path into the
short-path, so that - we don't need to deal with the encoding issues
(specially with Python 2).

We've resolved majority of the issues with this patch.
We still need couple issues to resolve after this in the same area.

TODO
* Add better support for non-ascii characters in the database name on
  windows with Python 3
* Improve the messages created after the background processes by
  different modules (such as Backup, Restore, Import/Export, etc.),
  which does not show short-paths, and xml representable characters for
  non-ascii characters, when found in the database objects, and the file
  PATH.

Fixes #2174, #1797, #2166, #1940

Initial patch by: Surinder Kumar
Reviewed by: Murtuza Zabuawala
2017-03-07 15:31:03 +05:30
..
driver Resolved quite a few file-system encoding/decoding related cases. 2017-03-07 15:31:03 +05:30
sqlautocomplete Another Python 3 fix. 2017-01-31 12:12:22 +00:00
tests Rename the 9.1_plus templates to "default" to more appropriately support Greenplum which is based on 8.3. 2017-02-01 09:57:49 +00:00
__init__.py Resolved quite a few file-system encoding/decoding related cases. 2017-03-07 15:31:03 +05:30
ajax.py Format JSON more efficiently. This can significantly reduce response sizes from the server. 2017-01-06 14:09:36 +00:00
crypto.py Various encoding fixes. Fixes #2160 2017-02-16 11:00:40 +00:00
exception.py Update copyright notices for 2017. 2017-01-04 13:33:32 +00:00
html.py Resolved quite a few file-system encoding/decoding related cases. 2017-03-07 15:31:03 +05:30
menu.py Update copyright notices for 2017. 2017-01-04 13:33:32 +00:00
paths.py Resolved quite a few file-system encoding/decoding related cases. 2017-03-07 15:31:03 +05:30
preferences.py Resolved quite a few file-system encoding/decoding related cases. 2017-03-07 15:31:03 +05:30
route.py Make feature test app teardown more reliable, and tests faster 2017-03-01 13:20:06 +00:00
session.py Resolved quite a few file-system encoding/decoding related cases. 2017-03-07 15:31:03 +05:30
versioned_template_loader.py Rename the 9.1_plus templates to "default" to more appropriately support Greenplum which is based on 8.3. 2017-02-01 09:57:49 +00:00