LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   will it break system's files? (https://www.linuxquestions.org/questions/linux-software-2/will-it-break-systems-files-695317/)

cjzjm100 01-06-2009 07:15 AM

will it break system's files?
 
Hi,all,i seted the encoding of vim in order to display chinese well.Because when i opened source files programed by myslfe,the chinese can't display well.My locale is zh_CN.UTF-8,here is the contents of .vimrc:
let &termencoding=&encoding
set fileencodings=utf-8,gbk,ucs-bom,cp936
After this ,will it break the system files when i edit the system files by vim?

ilikejam 01-06-2009 10:52 AM

Hi.

No, it shouldn't do anything bad - western 'normal' characters are the same in UTF-8 as they are in 8 bit ASCII, so editing config files shouldn't be a problem.

Dave


All times are GMT -5. The time now is 12:34 AM.