DaCong
V2EX  ›  Ubuntu

ubuntu 下zip文件解压乱码

  •  
  •   DaCong · Apr 24, 2015 · 4899 views
    This topic created in 4215 days ago, the information mentioned may be changed or developed.
    已经从google上找到一些方法: http://flyer0126.iteye.com/blog/1932234
    但必须每次都做一边,有没有一劳永逸的方法?
    我的zip文件是从windows下拷贝的
    21 replies  •  2015-04-25 12:32:35 +08:00
    dfc643
    dfc643
    Apr 24, 2015
    1
    将 unar -e GB18030 取个别名是不是就差不多可以替代?
    clino
    clino
    Apr 24, 2015 via Android
    2
    我以前用了个办法是用wine跑 7zip ,这样就能正常解
    nabla
    nabla
    Apr 24, 2015
    3
    用java解压
    $ jar xf jar-file [archived-file(s)]
    holystrike
    holystrike
    Apr 24, 2015
    4
    用 7zip 解压
    sudo apt-get install p7zip-full
    DaCong
    DaCong
    OP
    Apr 24, 2015
    5
    @holystrike
    能不能说的具体一点,什么命令
    fcitx
    fcitx
    Apr 24, 2015 via Android❤️1
    7
    @DaCong 7z x abc.zip
    DaCong
    DaCong
    OP
    Apr 24, 2015
    8
    @fcitx 多谢
    DaCong
    DaCong
    OP
    Apr 24, 2015
    9
    iamcho
    iamcho
    Apr 24, 2015❤️1
    10
    unzip -O GBK xxxxx.zip 注意大写
    DaCong
    DaCong
    OP
    Apr 24, 2015
    11
    @iamcho 你的方法可以用,不过,我想知道,有没有经过设置后就可以一劳永逸,直接解压的方法
    ericls
    ericls
    Apr 24, 2015 via Android
    13
    这是windows的问题
    rock_cloud
    rock_cloud
    Apr 24, 2015
    14
    unzip -o cp936 file.zip
    rock_cloud
    rock_cloud
    Apr 24, 2015
    15
    unzip -O cp936 file.zip 大写O
    PeterD
    PeterD
    Apr 24, 2015❤️1
    16
    anubu
    anubu
    Apr 24, 2015
    17
    强迫症 看到lz的全角字母很难受
    DaCong
    DaCong
    OP
    Apr 25, 2015
    18
    @PeterD 很不错的一些脚本,已经star
    ljcarsenal
    ljcarsenal
    Apr 25, 2015
    19
    @PeterD 那个91porn是什么鬼
    linux40
    linux40
    Apr 25, 2015
    20
    随便重命个名就行,于汉字编码有关。。
    fcitx
    fcitx
    Apr 25, 2015
    21
    @DaCong
    其实一劳永逸的办法就是,在windows下用7zip压成zip,在其他平台用7zip解压。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1562 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 56ms · UTC 07:56 · PVG 15:56 · LAX 23:56 · JFK 02:56
    ♥ Do have faith in what you're doing.