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

Re: will it break the system files?



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


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