Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issues with special characters in folder/file names #6195

Open
1 task done
mmutee opened this issue Jan 15, 2024 · 1 comment · May be fixed by #6221
Open
1 task done

Issues with special characters in folder/file names #6195

mmutee opened this issue Jan 15, 2024 · 1 comment · May be fixed by #6221

Comments

@mmutee
Copy link

mmutee commented Jan 15, 2024

Is there an existing issue for this?

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.

gdevelop bug report
gdevelop bug report3

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

@ClementPasteau
Copy link
Collaborator

Thanks for reporting @mmutee I can confirm I reproduce the issue.
image

The resource is properly added with the right name.
image

But the image loader strips the character from it
image

Could be because of encoding or something. We'll take a look

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants