[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: zip 文件,windows 下能正确看到中文, debian 下显示乱码




2010-05-14(Friday) 12:06:29 +0800, "wolfman.wu" <r6aix@21cn.com>:

> (列表不允许发带附件的邮件,所以去掉测试用的附件再发一次)
> 
> 我按如下试验不成功,不知道我做错了哪里?附件是我用来做测试的 zip 文件
> 
> oracle@debian3:~$ unzip bad_unzip.zip ; convmv -r -f gb2312 -t utf8
> bad_unzip ; ls -r bad_unzip ; rm -fr bad_unzip
> Archive:  bad_unzip.zip
>    creating: bad_unzip/
>    creating: bad_unzip/�-��+-+�+
> extracting: bad_unzip/�-��+-+�+�/��+� (2) �-�� +-��+-��.txt  
> extracting: bad_unzip/��+� �-�� +-��+-��.txt  
> extracting: bad_unzip/�-�� +-��+-��.txt  
> Your Perl version has fleas #37757 #49830 
> Starting a dry run without changes...
> mv "bad_unzip/��+� �-�� +-��+-��.txt"   "bad_unzip/│+� �-⒖ +-Ε+-亮.txt"
> mv "bad_unzip/�-�� +-��+-��.txt"        "bad_unzip/�-⒖ +-Ε+-亮.txt"
> mv "bad_unzip/�-��+-+�+�/��+� (2) �-�� +-��+-��.txt"    "bad_unzip/�-��
> +-+�+�/│+� (2) �-⒖ +-Ε+-亮.txt"
> mv "bad_unzip/�-��+-+�+�"       "bad_unzip/�-⒖+-+�+"


> No changes to your files done. Use --notest to finally rename the files.



  其实你静下心来仔细看看即可知道,需要添加 --notest 选项,即
convmv --notest -r -f gb2312 -t utf8

  浮躁是万恶之源……



Reply to: