Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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
1  
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
1  
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

1 Answer 1

up vote 4 down vote accepted
+50

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

 
discard

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.