Re: will it break the system files?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



cjzjm100 wrote:
> 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?
> 

I have no idea, though I suspect the answer is no.  Regardless, this is a
classic example of why it's good to have separate root and non-root users.  Root
should never need to be editing program source.

-- Chris

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux