Kurdish Parentheses on OpenStreetMap, Three Ways
blog.georeactor.com
blog.georeactor.com
How do you think the user made the mistake in the first place? It seems like it was edited to "look right" when it was rendered wrong?
See https://unicode.org/reports/tr9/#Mirroring for description of the process, and https://www.unicode.org/Public/UCD/latest/ucd/BidiMirroring.... for the full list of mirrorings, including mentioning cases where there is no appropriate mirrored character defined by Unicode (like √—in fact, I think they’re all mathematical notation), and so they suggest the renderer horizontally flip the glyph instead (which isn’t perfect, as things like italic slant will be inverted).
Now try to: enter numbers in the text (they are LTR at least in those two RTL locales). Try to select a passage with both text and numbers. Try to copy and paste words from, say, Arabic Wikipedia in the middle of English text, and vice versa. Enter parenthesis, especially near newlines. I don't know about you, but my intuition about where text will get inserted is sometimes quite wrong.
Don't be alarmed if things work differently in different applications. Or perhaps, be. I still haven't figured out how to input RTL and LTR text properly in Slack using Firefox (I don't know which party to blame, even: me, browser, or Slack).
Actually, I don't remember clearly how the different forms are handled by different character sets and if one would have to type them explicitly in some configurations. Surely on typewriters, but maybe not in Unicode?
On the different forms, https://en.wikipedia.org/wiki/Arabic_script_in_Unicode has a short summary. It is possible to type those contextual forms explicitly (they have their own code points), but "presentation forms are present only for compatibility with older standards, and are not currently needed for coding text."
Edit: Found it: https://www.openstreetmap.org/way/195240072
Unicode is such a complex beast this is just one aspect of it.
I suspect that your user entered the street name correctly at first, then played around with the wrong parenthesis in the wrong locations until he settled upon something that looked like it visually rendered as he expects, on his system in the input box.
The actual topic is much more interesting :D