Skip to content

Conversation

@xvrh
Copy link

@xvrh xvrh commented Dec 4, 2025

When a folder contains a spaces, the Uri.path will encode it with a %20 character. And it is not found with File(path)
ie. Folder Application Support becomes Application%20Support with uri.path.

Using File.fromUri solves that.

Ensures local files are read using a URI object,
correcting an issue where the file path contains a space.
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 this pull request may close these issues.

1 participant