'VS Code SFTP extention not allowing special characters

I'm trying to connect to a project on an ftp server that contains special characters (Danish æøå), and the extension does not download these files, but throws an error, and the filenames are shown in the explorer with some weird characters in stead of the Danish ones Is there a way to fix this other than changing their names on the ftp server. I Guess it's an encoding issue. Tried this on both Mac and Windows



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source