4 ms·
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 לכת
by rock_artist 5y ago
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...
- chrismorgan 5y agoThe 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).
- names_are_hard 5y agoIt's not the homepage but the site has an entire article on the exactly this. https://rtl.wtf/explained/bidiintro.html https://rtl.wtf/explained/bidiintro.html