关于deepin zip格式压缩包解码乱码问题
Tofloor
poster avatar
138******01
deepin
2017-07-26 05:05
Author
说明:刚开始安装的时候出现乱码,完全看不懂,而且还会出现压缩包无法打开,解压后也是乱码,经过本搞机达人不懈努力,最终确定,百度上的答案一点卵用没有。
原因:Windows会自动识别编码,而Linux默认utf-8
解决办法:
1:deepin应用商店里下载wine软件,比如360,在360压缩中打开,然后解压,
2:sudo apt search chinese
sudo apt-get install task-chinese-s-desktop task-chinese-s-environment task-chinese-s//根据情况安装
3:下载Windows方正字体库,解压,管理员权限,复制到/usr/share/fonts/myfonts/    //myfonts自定义
sudo mkfontscale
sudo mkfontdir
sudo fc-cache -f -v
fc-list
方正字体库见附件,附件只能是4M以内,详情请百度,或者百度云搜索 方正字体打包下载

Reply Favorite View the author
All Replies
avatar
152******09
deepin
2017-07-26 23:10
#1
Reply View the author
avatar
饮料再好也比不上麦芽发酵
deepin
2017-07-27 00:47
#2
https://bbs.deepin.org/post/143197
用unzip cp386解就行了。
http://jingyan.baidu.com/article/39810a23a6adc6b636fda69b.html

这个方法不错,哈哈
Reply View the author
avatar
方老四
deepin
2017-07-27 17:44
#3
本帖最后由 fangling 于 2017-7-27 09:48 编辑

小白不习惯用命令,还是请官方在文件管理器的右键“解压缩”菜单中智能解决一下吧。
Reply View the author
avatar
Feng Yu
deepin
2017-07-27 18:12
#4
这个真的不是深度的锅,而是zip太久远,不支持UTF8字符集
Reply View the author
avatar
duanyao
deepin
2017-07-27 22:25
#5
https://bbs.deepin.org/post/143197
这个真的不是深度的锅,而是zip太久远,不支持UTF8字符集

zip 的新版规范支持 utf-8,只是很多 windows 上的 zip 工具在生成 zip 文件的时候仍然用本地编码(简体中文windows 就是 GBK了)。也就是说,这其实是 windows 上的 zip 工具的锅,它们早该改用 utf-8 了。

当然,linux 上的 zip 工具可以尝试做下自动编码识别,只不 zip 这种场合数据量太小,正确率不高。
Reply View the author
avatar
A_sheng
deepin
2017-07-28 01:20
#6
谢谢楼主分享
Reply View the author