Listing archive contents replaces invalid UTF-8 bytes with "?" (question mark) #1282
Labels
No labels
blocked
breaking
bug
data loss
design finalized
good first issue
new feature area
question / support
security
waiting for response
No milestone
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
borgmatic-collective/borgmatic#1282
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What I'm trying to do and why
I'm trying to check, whether files containing non UTF-8 byte sequences in the name are backed up correctly.
Steps to reproduce
Actual behavior
Invalid bytes are rendered as
?(ASCII\x3f).Expected behavior
Invalid bytes should be rendered as is or as they would be extracted, especially when running in a single byte encoding locale.
Other notes / implementation ideas
No response
borgmatic version
2.1.3
borgmatic installation method
No response
Borg version
borg 1.4.3
Python version
Python 3.14.3
Database version (if applicable)
No response
Operating system and version
Linux / ext4 filesystem
I'm pretty sure this is a Borg limitation. Example:
Let me know if I'm missing something.