-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Open
Description
Describe the bug
When using to add directories containing files with non-UTF-8 filenames (Chinese, special symbols), the filenames become garbled after upload, and displays corrupted characters like .
Reproduction steps
- Create a directory with special/non-ASCII filenames
- Run
- View with
- See garbled characters
Expected behavior
Filenames should be displayed correctly without corruption.
Desktop/Environment
- OpenViking Version:
- Rust CLI Version:
- OS: Linux/macOS/Windows
Root cause & fix
Found in line 61:
Using silently replaces invalid UTF-8 characters, causing corruption. Fixed by replacing with strict UTF-8 validation:
Additional context
This breaks compatibility with filesystems using non-UTF-8 encodings and causes garbled display of internationalized filenames.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Status
Backlog