How to insert copy-paste a hindi language word from web pages to vim editor.When i do it now it says "..... . ....." What is the settings that has to be changed in vim editor to do this


  1. Make sure the locale is installed on the system (debian/ubuntu: aptitude install locale)
  2. On the shell: setenv LANG
  3. In vim: :language
  4. In vim: :set encoding=utf-8
  5. Try again and tell me if it works

I also found this while googling: http://raviratlami1.blogspot.com/2007/04/how-to-write-hindi-in-linux.html

and thats the vim docu: http://vimdoc.sourceforge.net/htmldoc/mbyte.html

|improve this answer|||||

In addition to the points listed by frisbee23, you should also make sure that you're using a UTF8-capable terminal (gnome-terminal, konsole, urxvt, etc), and that the terminal font you've selected supports displaying Hindi characters.

|improve this answer|||||

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.