Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 01-06-2009, 08:15 AM   #1
Registered: Apr 2007
Posts: 43

Rep: Reputation: 15
Question 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?
Old 01-06-2009, 11:52 AM   #2
Senior Member
Registered: Aug 2003
Location: Glasgow
Distribution: Fedora / Solaris
Posts: 3,109

Rep: Reputation: 96

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.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
efficiently break large file into small files: Perl? coldy78 Programming 10 12-11-2007 05:06 AM
how do I "break down" tar files? NetRAVEN5000 Linux - Software 9 12-30-2006 07:13 PM
Increment Files System's size Hep Linux - General 3 07-12-2006 04:21 PM
Help! My system's been compromised.... DaVenom Linux - Security 1 11-12-2004 03:49 PM
Start up files ,how to break into them ? sachin77 Linux - Newbie 1 04-24-2001 07:58 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:07 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration