Keka
Keka copied to clipboard
[BUG] Cannot compress zstd in a directory containing a CJK path
Configuration
- Keka version: 1.2.54 (4983)
- macOS version: 12.4 (21F79)
Describe the bug
Cannot compress zstd in a directory containing a CJK path. However, whether the compressed folder is CJK or not seems to have no effect.
To Reproduce
Steps to reproduce the behavior:
- Go to a directory containing a CJK path, like
/Volumes/MICRON B17A/媒体库/套图/六味帝皇酱/
- Compress a folder into zstd
- Report an error, as shown in the attached log
- Move the compressed folder to the root directory of the removable drive, i.e. the directory that does not contain CJK characters, like
/Volumes/MICRON B17A/
- Now it compresses correctly without errors
Expected behavior
It compresses correctly into zstd in any directory without errors
Screenshots
![CleanShot 2022-06-11 at 08 14 10@2x](https://user-images.githubusercontent.com/6081912/173165120-4c820037-2f52-42fc-b149-41569ab5af73.png)
Additional context
OS: 版本12.4(版号21F79) (arm64)
Keka: v1.2.54-r4983 (MAS) (Sandboxed) (zh-Hans)
Binary used: kekatar
Arguments: (
"--use-compress-program",
"\"/Applications/Keka.app/Contents/MacOS/kekazstd\" -4 -T8",
"-Kcf",
"/Volumes/MICRON B17A/\U5a92\U4f53\U5e93/\U5957\U56fe/\U516d\U5473\U5e1d\U7687\U9171/\U5f52\U6863.tar.zst",
"--no-mac-metadata",
"--no-xattrs",
"--exclude=.DS_Store",
"--exclude=.localized",
"--exclude=._*",
"--exclude=.FBC*",
"--exclude=.Spotlight-V100",
"--exclude=.Trash",
"--exclude=.Trashes",
"--exclude=.background",
"--exclude=.TemporaryItems",
"--exclude=.fseventsd",
"--exclude=.com.apple.timemachine.*",
"--exclude=.VolumeIcon.icns",
"-C",
"/Volumes/MICRON B17A/\U5a92\U4f53\U5e93/\U5957\U56fe/\U516d\U5473\U5e1d\U7687\U9171/",
"\U516d\U5473\U5e1d\U7687\U9171 NO.007 \U5348\U540e\U7684\U5c11\U5973 [84P-553MB]",
"-C",
"/Volumes/MICRON B17A/\U5a92\U4f53\U5e93/\U5957\U56fe/\U516d\U5473\U5e1d\U7687\U9171/",
"\U516d\U5473\U5e1d\U7687\U9171 NO.008 \U6d1b\U4e3d\U5854 [71P-689MB]"
)
kekatar: Failed to open '/Volumes/MICRON B17A/åªä½åº/å¥å¾/å
å³å¸çé
±/å½æ¡£.tar.zst'
Error code 1
Can't reproduce the issue right away. In what format is the MICRON B17A disk? Does it fail with 7Z or DMG?
I can't also repro it:
![image](https://user-images.githubusercontent.com/28441561/176331071-3bd9ed75-3eba-4103-bf41-1fa1fddb5b8c.png)
Probably it is related to the encoding in the zstd file?
I need more information to check this, specially the disk format.