2 ms·
It all depends on your IDE. I've tried this, and IntelliJ and friends will show a little block with the text RLO for the right to left override or ZWS for zero
by jeroenhd 5y ago
It all depends on your IDE. I've tried this, and IntelliJ and friends will show a little block with the text RLO for the right to left override or ZWS for zero with spaces for any non-standard character that might mess things up. (Neo)vim will show the unicode espace sequence instead of rendering the text as unicode directs it.
Some compilers, notably clang, will warn you that you're using an "invisible character". Assuming you at least read the warnings your code generates (because if you don't, why not just put exploitable algorithms deep down ontthe software?) you'd probably catch the issue.
Simpler programs such as the text editor that ships with GNOME will freak out, but I don't think most people are coding in that in the first place.
I think this is an interesting peculiarity, but it's not a "threat" to "the security of all code".
- aulin 5y agoI'd say that neovim is bugged here and gedit is the one working properly rendering unicode as it should be
- deleted 5y ago[deleted]