Issues with special characters in folder/file names
Is there an existing issue for this?
- [X] I have searched the existing issues
Describe the bug
I found out that folder/file names containing special characters (like # symbol) will be an issue and will remain missing in the editor. This happens on Linux and Windows. This could be handled better, either by warning the user or giving an error. Instead, Gdevelop seems to import the file but then the file is not displayed at all.
Steps to reproduce
1_ try to import an image file with filename containing "#" symbol 2_it won't be displayed in the preview, nor will it show up in level editor 3_if you preview the game, it will appear as a pink block
GDevelop platform
Desktop
GDevelop version
5.3.185
Platform info
OS (e.g. Windows, Linux, macOS, Android, iOS)
OS Version (e.g. Windows 10, macOS 10.15)
Browser(For Web) (e.g. Chrome, Firefox, Safari)
Device(For Mobile) (e.g. iPhone 12, Samsung Galaxy S21)
Additional context
No response
Thanks for reporting @mmutee I can confirm I reproduce the issue.
The resource is properly added with the right name.
But the image loader strips the character from it
Could be because of encoding or something. We'll take a look