I would like to know how can I set VIM 7.0 to show and work with ASCII extended characters without problem.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Vim (which is what
viresolves to on most systems) readily supports extended character sets. You might need to tell Vim which encoding to use, though.This is controlled by two options:
If you have loaded a file that displays incorrectly, you may use
:set encoding=<new encoding>to force the appropriate encoding. This changes the interpretation of the characters on the fly. If you want to save the file in another encoding preserving the current interpretation of characters, useset fileencoding=<new encoding>to let Vim save the file in that encoding.I recommend that you set
utf-8as the default encoding in your.vimrc.