/************************************ ********************************* * Author : Samson * Date : 07/03/2014 * Test platform: * 3.11.0-12-generic #19-Ubuntu * GNU bash, version 4.2.45 * ****************************** *************************************/View the encoding of the current file in GNU Linux:You can open this file via vim and enter
:set fileencoding in control mode to view the character encoding format of the current file. The following content will be displayed at the bottom of the vim window:
fileencoding=utf-8 The meaning of the uplink is that the character encoding of this file is utf-8; then how to convert the character encoding of a file? It can be processed using the iconv command. iconv - Convert encoding of given files from one encoding to another format is generally: iconv -f utf8 -t UTF-16 foo_in.txt > foo_out.txt means converting utf8 character encoded files For the format of the character encoding format utf16, you can use the above format to view the converted file. The character encoding after testing is:fileencoding=utf-16le
PS: You can use iconv -- The list command to view the character encoding format supported by iconv;
What should I do if the Ubuntu system Grub fails? Many computer users think of reloading: Grub, howe
minicom is very easy to use, but sometimes not intuitive enough, it is recommended that newcomers, e
1. Comparison of several file systems (1) support the file system in the Linux system: Ext2 second e
one, top command 1. Function The top command is used to display the program process in execution,
Linux how to modify the ip address, host name and other information
Detailed explanation of Linux commands find
The use of the Linux primary command useradd and detailed
Linux system unzip decompression Chinese name garbled solution
Linux Vi editor code highlighting and permanent display line number scheme
LINUX Extra Privilege Control ACL
Example of using Samba server under Linux
Ssh, scp does not enter a password to operate
Linux command after the run -nohup
Install the Linux operating system through the image file on the hard disk
How to add Swap to Ubuntu boot entry?
Can the Win7 system ProgramData folder be deleted?
Win10 setting screen automatically closes the method
This happens every time the computer is turned on. Why?
Win7 system after the DNF screenshot can not find the intercepted picture how to solve the
Windows7 boot prompts check file system on c two reasons analysis
WinXP system uses cmd command to create hidden account skills