Does not work with non-ascii characters in file or folder names
seppo498573908457 opened this issue · comments
Folder named "Sähkö" gets ignored and CS-script generates a new folder called "S�hk�".
And what is this folder role? Is it a part of the script path?
Can you elaborate, please? What is the test case that let me reproduce the problem?
The role of the folder is to contain code files or the whole project.
My first attempt to use CS-script:
- Create C:\Sähkö
- Open VS Code and open that folder in it.
- Add a C# file in the folder, Program.cs
- When trying to open the file in CS-Script, it gives error message saying that the file was not found.
- If you click on the Create File link that is with the above error message, you get a new folder and empty file C:\S�hk�\Program.cs
Interestingly enough I have indeed could reproduce your problem. Though it was not caused by the file encoding but by some project generation flaw.
Fixed. I was able to open and edit/debut your very script (from C:\Sähkö
folder) as a VSCode project.
Please update to v2.2.0.
=============
Please note that you do not have to load the script as a project. You can get IntelliSense and debug functionality even if you do not load workspace/project but open script file only: