LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 01-06-2009, 07:15 AM   #1
cjzjm100
Member
 
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, 10:52 AM   #2
ilikejam
Senior Member
 
Registered: Aug 2003
Location: Glasgow
Distribution: Fedora / Solaris
Posts: 3,109

Rep: Reputation: 97
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
 
  


Reply



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 04:06 AM
how do I "break down" tar files? NetRAVEN5000 Linux - Software 9 12-30-2006 06:13 PM
Increment Files System's size Hep Linux - General 3 07-12-2006 03:21 PM
Help! My system's been compromised.... DaVenom Linux - Security 1 11-12-2004 02:49 PM
Start up files ,how to break into them ? sachin77 Linux - Newbie 1 04-24-2001 06:58 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:13 AM.

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