1.
怎麼讓 Windows 下 7-Zip 9.20 壓的 .zip 裡面的中文檔名顯示正常?!
Windows 下的 zip 不支援 Unicode 嗎?還是跟 Windows 的編碼有關?!
都變亂碼了...
7z 和 rar 裡面的中文檔名顯示正常耶...
2.
peazip.x86_64 1.11-1.el6.rf @rpmforge
這個裝了怎沒有作用?沒 GUI 也沒找著 command ??
怎麼讓 Windows .zip 裡的中文檔名顯示?
-
- 帖子: 94
- 注册时间: 2009-05-31 4:58
- 系统: CentOS
- 来自: Taiwan
- b33e
- 帖子: 3874
- 注册时间: 2011-06-07 14:20
Re: 怎麼讓 Windows .zip 裡的中文檔名顯示?
这样指定编码方式解压我测试是可以的,不过论坛前两天有人说是不行。
代码: 全选
unzip -O CP936 XX.zip
- b33e
- 帖子: 3874
- 注册时间: 2011-06-07 14:20
-
- 帖子: 94
- 注册时间: 2009-05-31 4:58
- 系统: CentOS
- 来自: Taiwan
Re: 怎麼讓 Windows .zip 裡的中文檔名顯示?
GUI 的可以嗎?GNOME 內建那個好像叫 File ...啥的?!
-
- 帖子: 94
- 注册时间: 2009-05-31 4:58
- 系统: CentOS
- 来自: Taiwan
Re: 怎麼讓 Windows .zip 裡的中文檔名顯示?
File Roller 2.28.2b33e 写了:这样指定编码方式解压我测试是可以的,不过论坛前两天有人说是不行。代码: 全选
unzip -O CP936 XX.zip
不行阿?! 沒有 大O 參數...
代码: 全选
[root@localhost ~]# unzip -O BIG5 000.zip
UnZip 6.00 of 20 April 2009, by Info-ZIP. Maintained by C. Spieler. Send
bug reports using http://www.info-zip.org/zip-bug.html; see README for details.
Usage: unzip [-Z] [-opts[modifiers]] file[.zip] [list] [-x xlist] [-d exdir]
Default action is to extract files in list, except those in xlist, to exdir;
file[.zip] may be a wildcard. -Z => ZipInfo mode ("unzip -Z" for usage).
-p extract files to pipe, no messages -l list files (short format)
-f freshen existing files, create none -t test compressed archive data
-u update files, create if necessary -z display archive comment only
-v list verbosely/show version info -T timestamp archive to latest
-x exclude files that follow (in xlist) -d extract files into exdir
modifiers:
-n never overwrite existing files -q quiet mode (-qq => quieter)
-o overwrite files WITHOUT prompting -a auto-convert any text files
-j junk paths (do not make directories) -aa treat ALL files as text
-U use escapes for all non-ASCII Unicode -UU ignore any Unicode fields
-C match filenames case-insensitively -L make (some) names lowercase
-X restore UID/GID info -V retain VMS version numbers
-K keep setuid/setgid/tacky permissions -M pipe through "more" pager
See "unzip -hh" or unzip.txt for more help. Examples:
unzip data1 -x joe => extract all files except joe from zipfile data1.zip
unzip -p foo | more => send contents of foo.zip via pipe into program more
unzip -fo foo ReadMe => quietly replace existing ReadMe if archive file newer