11

I tried searching for this but came out empty-handed. Is it possible for me to get my terminal emulator to display right-to-left Unicode grapheme clusters properly?

Use case: I'm writing a script that outputs Arabic letters to the terminal and it's currently outputting the glyphs in reverse order, which messes up the way they're supposed to connect, making them visually difficult to read.

4 Answers 4

9

I haven't used it as I don't speak Arabic, but this gets decent reviews: http://mlterm.sourceforge.net/

See also:

A Quick Primer on Unicode and Software Internationalization under Linux and Unix.

2
  • 3
    see also eyegene.ophthy.med.umich.edu/unicode Commented Nov 11, 2013 at 20:04
  • Exactly what I needed. Thank you very much. I added the link provided by @StephaneChazelas to the answer because it's really useful. Thanks to both of you Commented Nov 12, 2013 at 19:48
4

konsole does and supports bidirectional writing

2
  • I just tried it and it does. Thank you for your input. Commented Sep 28, 2014 at 8:13
  • Yes but not ZWJ grapheme cluster. Commented Aug 17, 2023 at 9:47
2

konsole supports it as built-in, BUT on other terminal emulators, you need to install BiCon (bidirectional console).

1

GNOME Terminal version 3.34 supports right to left scripts, and so do other VTE-based emulators (e.g. Tilix, Terminator, Xfce Terminal, Guake...) if using VTE version 0.58.

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.