当前时区为 UTC + 8 小时



发表新帖 回复这个主题  [ 5 篇帖子 ] 
作者 内容
1 楼 
 文章标题 : 怎麼讓 Windows .zip 裡的中文檔名顯示?
帖子发表于 : 2012-09-24 12:55 

注册: 2009-05-31 4:58
帖子: 94
地址: Taiwan
系统: CentOS
送出感谢: 1
接收感谢: 1
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 ??


页首
 用户资料  
 
2 楼 
 文章标题 : Re: 怎麼讓 Windows .zip 裡的中文檔名顯示?
帖子发表于 : 2012-09-24 13:13 
头像

注册: 2011-06-07 14:20
帖子: 3866
系统: Mint18
送出感谢: 17
接收感谢: 65
这样指定编码方式解压我测试是可以的,不过论坛前两天有人说是不行。
代码:
unzip -O CP936 XX.zip


_________________
wiki: ubuntu 技巧


页首
 用户资料  
 
3 楼 
 文章标题 : Re: 怎麼讓 Windows .zip 裡的中文檔名顯示?
帖子发表于 : 2012-09-24 13:14 
头像

注册: 2011-06-07 14:20
帖子: 3866
系统: Mint18
送出感谢: 17
接收感谢: 65
据说还可以采用java的jar命令解压zip包


_________________
wiki: ubuntu 技巧


页首
 用户资料  
 
4 楼 
 文章标题 : Re: 怎麼讓 Windows .zip 裡的中文檔名顯示?
帖子发表于 : 2012-09-24 15:33 

注册: 2009-05-31 4:58
帖子: 94
地址: Taiwan
系统: CentOS
送出感谢: 1
接收感谢: 1
GUI 的可以嗎?GNOME 內建那個好像叫 File ...啥的?!


页首
 用户资料  
 
5 楼 
 文章标题 : Re: 怎麼讓 Windows .zip 裡的中文檔名顯示?
帖子发表于 : 2012-09-25 4:21 

注册: 2009-05-31 4:58
帖子: 94
地址: Taiwan
系统: CentOS
送出感谢: 1
接收感谢: 1
b33e 写道:
这样指定编码方式解压我测试是可以的,不过论坛前两天有人说是不行。
代码:
unzip -O CP936 XX.zip


File Roller 2.28.2
不行阿?! 沒有 大O 參數...
代码:
[[email protected] ~]# 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


页首
 用户资料  
 
显示帖子 :  排序  
发表新帖 回复这个主题  [ 5 篇帖子 ] 

当前时区为 UTC + 8 小时


在线用户

正在浏览此版面的用户:没有注册用户 和 3 位游客


不能 在这个版面发表主题
不能 在这个版面回复主题
不能 在这个版面编辑帖子
不能 在这个版面删除帖子
不能 在这个版面提交附件

前往 :  
本站点为公益性站点,用于推广开源自由软件,由 DiaHosting VPSBudgetVM VPS 提供服务。
我们认为:软件应可免费取得,软件工具在各种语言环境下皆可使用,且不会有任何功能上的差异;
人们应有定制和修改软件的自由,且方式不受限制,只要他们自认为合适。

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
简体中文语系由 王笑宇 翻译