News for hackers. Stuff that matters.
Re:RTL: WTF: Read the web like Right-to-Left readers do by rock_artist on Wednesday July 07, 2021 @03:39AM (#27758439)
Not sure I understand how it demonstrates BiDi problems.

The real BiDi problems come when you got a context of LTR in RTL.

For example:

אני חושב שזה cool לכתוב מילה באנגלית.

This is where things goes wrong. And we didn't even start with text selection...

Re:RTL: WTF: Read the web like Right-to-Left readers do by chrismorgan on Wednesday July 07, 2021 @03:54AM (#27758515)
The site demonstrates the problems in two ways:

① Setting `text-align: right` so that you can feel the weirdness that `text-align: left` will produce for RTL languages.

② And for BiDi: setting `direction: rtl`, and using a mixture of strong LTR characters (e.g. letters) and neutral characters (e.g. punctuation). This combination results in the neutral characters going RTL, which is why you end up with things like “.solve them” and “→ ?What is this” rather than “solve them.” and “What is this? →”.

It’s demonstrating things that are commonly done wrong the other way (when the document says it’s LTR, but contains RTL text).

Re:RTL: WTF: Read the web like Right-to-Left readers do by names_are_hard on Wednesday July 07, 2021 @05:09AM (#27759012)
It's not the homepage but the site has an entire article on the exactly this.

https://rtl.wtf/explained/bidiintro.html