Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Devnagari characters do not render properly in gvim. They appear just as they do when typed in vim running in a terminal (consonants and vowels separated.)

Is there any way we can make vim handle devnagari characters properly?

share|improve this question
Can you explain how to setup the system to input the Devnagari characters? I opened gvim, copied the Devnagari characters I found on Wikipedia and did not notice any apparent problems. – January Sep 14 '12 at 7:21
While entering text, I use appropriate keyboard layout. By the way, I, too tried copying devanagari text from wikipedia. Some characters appear OK. Most (more complex ones) don't. – deshmukh Sep 14 '12 at 12:15
up vote 6 down vote accepted

Update: I searched a bit and found that you can use any monospaced font in vim but if you choose a non-monospaced font, the results will be ugly because vim has a fixed character cell. So, you can't use Devanagari fonts in gvim.

It seems to me that gVim treats every font as monospaced and that is creating the problem.

You can try other editors which can render the font correctly. Some of them are:

  • Gedit

enter image description here

  • Emacs

enter image description here

  • LibreOffice Writer - A word processor

enter image description here

share|improve this answer
Thanks for the detailed answer. Upvoted for the same. But, I was looking forward to continue working in vim. – deshmukh Sep 14 '12 at 12:26

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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