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

When importing or exporting files that end in one of more non-breakable spaces (0xFF), they are trimmed from the filename #2

Open
Digitoxin1 opened this issue Oct 28, 2024 · 0 comments
Assignees
Labels
help wanted Extra attention is needed

Comments

@Digitoxin1
Copy link
Owner

This is a limitation of .NET. All file operations in .NET run filenames through a trim function which trims a set of characters off of the end of a filename including non-breakable spaces.

This could be fixed by bypassing .NET and accessing the Windows API directly, but I'm not sure how this will affect users who are running DiskImageTool under Wine on Linux and MacOS.

@Digitoxin1 Digitoxin1 self-assigned this Oct 28, 2024
@Digitoxin1 Digitoxin1 added the help wanted Extra attention is needed label Oct 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant