3 ms·
You still have to be mindful of \u202e in anything new that you're writing, but browsers do a much better job of not having it bleed across elements like they d
by echelon 5y ago
You still have to be mindful of \u202e in anything new that you're writing, but browsers do a much better job of not having it bleed across elements like they did back in the 2000s.
Back in the era of forums that didn't support unicode correctly (2005ish?), it was trollish fun to post messages containing \u202E and watch the UI and all subsequent messages and elements get messed up. (One stray \u202E would flip the entire page contents following it.) I never took it to a level of abuse since it was easy to remove and then ban offenders, but it was fun in a one-off thread, and it always had great reactions.
I patched my own software to handle it, but I don't recall anyone really abusing it in a widespread manner. (Contrast this with the era of prolific and widely abused AOL/AIM exploits that would kill your IM client with malformed messages.)
IIRC, a bunch of messaging clients also didn't (or still don't) handle \u202e termination and it sometimes bled into new messages and even the text input box. That was pretty horrible and unfixable without restarting.
Obligatory XKCD: https://xkcd.com/1137/ https://xkcd.com/1137/
Some shenanigans in the wild:
https://www.reddit.com/r/Unicode/comments/hc1rxi/i_put_a_right_to_left_override_character_in_my/ https://www.reddit.com/r/Unicode/comments/hc1rxi/i_put_a_rig...
https://twitter.com/mkolsek/status/1237123571341803522 https://twitter.com/mkolsek/status/1237123571341803522
(These are way tamer than the effects used to be.)
(Also, HN filters it out. I tried to have some fun. :P)
- ocdtrekkie 5y agoI have seen it used maliciously in the wild. Email attachments like invoice.tab.pdf are actually Batch files named invoice.fdp.bat with this character inserted.