Original Windowsrar compressed files, Linux system after extraction of the file, open it and complete gibberish.
Is garbled because the compressed file, the file is named in Chinese. In the Windows encoding typically Chinese gbk, Linux Chinese encoding to UTF8 in General, windows normally open files to Linux may be garbled. Solution: use the command iconv to convert the file content encoding. For example I have a file ' linux commonly used commands in Windows open a normal, open in linux will be garbled, its solution to enter in Terminal: iconv-fgbk-tutf8linux commonly used commands. Txt > linux commonly used commands. After you open the txt.ut8 linux commonly used commands. Txt.utf8 "this file, see garbled you have resolved the problem.
No comments:
Post a Comment