Skip to content

Avoid printing partial UTF-8 bytes in progress output - #4774

Open
Mikachu wants to merge 1 commit into
facebook:devfrom
Mikachu:dev
Open

Avoid printing partial UTF-8 bytes in progress output#4774
Mikachu wants to merge 1 commit into
facebook:devfrom
Mikachu:dev

Conversation

@Mikachu

@Mikachu Mikachu commented Sep 9, 2026

Copy link
Copy Markdown

Without patch:
Compress: 2/2 files. Current: ...¾ままままa Read: 7.00 MiB / 35.1 MiB ==> 64%
With patch:
Compress: 2/2 files. Current: ...ままままa Read: 7.00 MiB / 35.1 MiB ==> 64%

(note that this does not protect against malicious filenames, it only makes sure we don't corrupt valid filenames).

Only tested on Linux.

@meta-cla meta-cla Bot added the CLA Signed label Sep 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant