Taking ubuntu 13.04 as an example of garbled cause: Garbled problem this is because the default encoding in Windows is GBK, in Ubuntu is a UTF-8, so in the Windows annotations, ubuntu will become garbled. Install vim first and run sudoapt-getinstallvim in command line mode. find vim. The configuration folder is not modified in this file. You can add the configuration file 1 in your home directory to run v.
Take Ubuntu 13.04 as an Example
Reasons for garbled characters:
Garbled problem this is because the default encoding in Windows is GBK, ubuntu is a UTF-8, so in Windows under the notes, Ubuntu will become garbled.
Install vim first
Run in Command Line Mode
Sudo apt-get install vim
Find the vim configuration folder.
It is generally not modified in this file
Add a configuration file in your home directory
1. Run vim ~ /. Vimrc command
2 "is the start symbol of the annotation.
Set nu "sets the display row number
Syntax on "enable syntax check
Set showmode "show status in the lower left corner
Set autoindent
Set fileencodings = UTF-8, ucs-bom, gb18030, gbk, gb2312, cp936
Set termencoding = UTF-8
Set encoding = UTF-8
Save OK.
Download, install, and configure Ubuntu 13.10Page http://www.linuxidc.com/Linux/2013-10/91564.htm
Ubuntu 13.10 text tutorial on hard drive installation in Windows 7See http://www.linuxidc.com/Linux/2013-10/91565.htm
For more information about Ubuntu, see Ubuntu special page http://www.linuxidc.com/topicnews.aspx? Tid = 2