News for hackers. Stuff that matters.
Re:Agatha Christie could afford a maid and a nanny but not a... by pajko on Wednesday January 26, 2022 @07:33AM (#30084726)
It's "automatic", see https://www.w3.org/International/articles/inline-bidi-markup... and https://unicode.org/reports/tr9/

However that algorithm has a couple of flaws in mixed left and right ordered text, and a couple of control characters have been introduced to solve the issue: https://www.w3.org/International/questions/qa-bidi-unicode-c...

Could play a bit in https://www.babelstone.co.uk/Software/BabelPad.html to see how things work.

Re:Agatha Christie could afford a maid and a nanny but not a... by contravariant on Wednesday January 26, 2022 @08:06AM (#30084945)
Ah is that what it was. Mixing ltr and rtl text always trips me up. To make matters even weirder it seems that sequences of nummerals, such as ١٠ are ltr again. That has some very unintuitive consequences when you try to edit that sentence.