User locale in snap
Describe the bug Snap version dosen't handle user locale settings ($LANG) and fail on the non-ascii UTF-8 directory names (for example Képek with LANG=hu_HU.UTF-8)
java.nio.file.InvalidPathException: Malformed input or input contains unmappable characters: /home/johans/K??pek
at java.base/sun.nio.fs.UnixPath.encode(UnixPath.java:145)
at java.base/sun.nio.fs.UnixPath.
.deb version works well with the right LANG settings
To Reproduce (1) Install snap version (2) Open a shell and make a directory with UTF-8 character: $ export LANG=hu_HU.UTF-8 $ mkdir Képek (3) Start snowflake (4) Connect to a remote host
Snowflake drops exception and unable to show the content of local directory
Expected behavior Show the content of the local directory encoded in UTF-8
Desktop (please complete the following information): Ubuntu 20.10 Destop
It is the same as #130