5

When I try to write in terminal in devnagari script, the vowels are shown separated from consonants (unlike how it is written).

The same is the case when I open a file containing devnagari characters in vim in terminal.

Is there a way to get these characters printed properly?

deshmukh
  • 4,061

3 Answers3

4

Please use konsole, it supports devanagari well. Install it with:

sudo apt-get install konsole 
chaos
  • 27,506
  • 12
  • 74
  • 77
  • 2
    Spot-on. This is the only thing that worked for me. It's kind of annoying that even sublime text doesn't support devnagari or any Indian scripts. – Plasty Grove Nov 08 '17 at 02:18
3

This problem is fixed in Ubuntu 19.04 and above

The gnome-terminal 3.32 supports Devanagari and other Indian fonts rendering.

Old Answer

You may be out of luck. Even though Devnagari (Hindi, etc.) script works well in most text input areas like gedit, browsers, and word processors, it looks like complex indic scripts like Devnagari are not supported in the default gnome terminal. However, some people were working on Devanagari support on GNOME Terminal and the results are available here.

I have no idea how this tweaked version of gnome terminal will fit into Ubuntu. As usual use caution when installing programs, apps and codes from unknown sources.

Another option is to install fbterm from Ubuntu Software Center. See the comments section of How can I get colors in TTY working correctly? for how to make it work.

Hope this helps

user68186
  • 33,360
1

VTE version 0.56 (gnome-terminal 3.32) fixed Devanagari rendering.

egmont
  • 8,225