Mirror of this Medium post.

When you enter the dot/full stop character when typing in English, it just works, and you don’t need to think about it dancing around your words and sentences. This isn’t the case in Arabic. Since the full stop character is technically considered a BiDi (bidirectional) character, weird stuff starts to happen. There’s no clear standard on how to render it correctly(as far as I know).

Take a look at this GIF for example:

1_W4dUNX0JP_ZI33EM09iz3Q

The dot suddenly went to the beginning of the line (on the right side instead of the left), and the blinking cursor isn’t even moving. Now this doesn’t just happen with that character, it happens with any BiDi character (e.g. exclamation mark) in the middle of RTL (Right To Left) text.

There’s actually a solution to this for some characters, there’s an Arabic full stop character, the only issue is that most people have no idea it exists or how to type it. I usually google it and copy it off of websites that show you Unicode characters, and it works pretty well as you can see in this example:

1_RaDySb6voidlLSLRuDQQlw

The way it’s rendered is a bit weird, and some fonts render it at a very strange vertical position, but it doesn’t jump around text and drive me crazy.

Another solution is to “set the text direction” but most users don’t know how to do that, it doesn’t work well when you mix LTR (Left To Right) and RTL in the same line, and it isn’t even immediately obvious how to do that in a number of platforms/apps. So I propose changing the normal full stop character to the Arabic one when using Arabic input (and the same for all other applicable characters), on all desktop and mobile operating systems. Which by the way, is what already happens when you try to use type a question mark with Arabic input.

I’ve actually tweeted to Apple, Google, and Microsoft, as well as their CEOs with no response (yet).

I would think these kind of UX issues are more important than where the cheese is on the burger emoji.

There are many other difficulties that we face which I might show in other posts but I’ll mention just a few which I regularly face and am extremely irritated by:

  • Selecting Arabic text, particularly when there’s English text within the selection. What’s rendered on-screen as selected isn’t actually what’s selected.
  • Tiny font sizes. Most websites I visit have a font size of around 16px (Google search bar for example), this looks fine for English, but many Arabic characters are not legible for some reason. I don’t know if this is the fault of the font or if we need dynamic font sizes per language.

It is my hope that this post will bring some of the issues many users face when typing Arabic on computers and phones to light, and even drive developers and font creators to tackle these issues. There are many apps and websites that have solved a lot of these issues, but we need this knowledge to be shared and turned into standards that operating systems and browsers handle, without every app and website having to repeat the work.