Omar Shaalan - 2019-08-27

I'm running MLTerm on a system based on Arch-linux,

When my Language is set to Arabic in the locale as shown below, and I launch a MLTerm session it doesn't render English letters, although I do write command and they run (which means that the content of the command was understood and not garbage) but all the letters appear as a boxes, but if I open an Arabic text file the Arabic text will be displayed correctly.

 localectl status
   System Locale: LANG=ar_EG.UTF-8
                  LC_COLLATE=C
       VC Keymap: ar_EG
      X11 Layout: n/a

On the other hand, if the configurations of my session is set to English as shown below, Latin letters are rendered fine when the MLTerm session starts, and also if we open an Arabic file it renders fine

localectl status
   System Locale: LANG=en_US.UTF-8
                  LC_COLLATE=C
       VC Keymap: en_US
      X11 Layout: n/a

The issue now is, when the localectl is set as Arabic, we need both Languages to be rendered, not necessarily on the same line but during the same session, so that I can for example change my directory with an English command and then edit a certain file that has an Arabic name or Arabic content.

So I need the MLTerm to act similarly in terms of rendering two languages when set to either English or Arabic.