Swap compressed files between Linux and Windows Platforms
Source: Internet
Author: User
Article Title: swap compressed package files between Linux and Windows platforms. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open-source systems. Swap compressed package files between linux and windows platforms. If the file name contains Chinese characters, sometimes there will be garbled issues, causing trouble for file exchanges between platforms. I have studied it carefully today and summarized some of the following experiences for you to share.
Middleware, tar.bz2) does not seem to be converted, so it is not suitable for exchanges between platforms. But in view of linux's free spirit, commercial software rar is not recommended, while free 7zip is recommended. however, I found that there are still problems in using ubuntu (my Edge) file-roeller to process the 7zip file, but there is no problem with using the command line, therefore, we recommend that you use the 7zip command line.
2. decompress the zip file containing the Chinese file name
If you receive a windows zip file that contains a Chinese file name, unzipping the file in linux will be garbled. After finding a circle, it seems that no software can solve this problem, compile a script in python, assuming you have installed 7zip and locale solves the problem with rar for the UTF-8.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.