mirror of
https://github.com/google/brotli.git
synced 2026-09-22 14:45:51 +00:00
Output file with path containing non-Latin Unicode characters on Windows #497
Reference in New Issue
Block a user
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?
Originally created by @davschne-unity on GitHub (Feb 13, 2024).
I've noticed some unusual behavior on Windows with output file paths containing non-Latin Unicode characters:
Non-Latin characters in the output filename
The command works, but the output filename is
Lietuviu Kalbos Žodynu.br, notLietuvių Kalbos Žodynu.br, as expected. (notice "u" versus "ų")Non-Latin characters in the name of the directory containing the output file
the command fails with output:
By contrast, using these same non-Latin characters in the input path seems to work fine. And the problem doesn't seem to occur on MacOS.
@eustas commented on GitHub (Feb 14, 2024):
I believe the problem is that CLI code works with 8-bit filenames. Going to fix that as soon as I have time. Feel free to ping me ~once a week. Thank you.