aonez / aonez/Keka

[BUG] Cannot compress zstd in a directory containing a CJK path

Aperta
#1,116 3 commenti 1 reazione 1 assegnatario Rivendicata da @aonez Vedi su GitHub
bsdtar bug more info needed
Lingua principale
PHP
Stelle
7.3k
Fork
294
Merge medio
14g 16h
PR unite (30g)
1

Descrizione

### 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:
1. Go to a directory containing a CJK path, like `/Volumes/MICRON B17A/媒体库/套图/六味帝皇酱/`
2. Compress a folder into zstd
3. Report an error, as shown in the attached log
4. 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/`
5. 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

### 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
```

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.