by rpigab · 3y ago · 0 comments
Also watch what happens in GNOME desktop environement and its file explorer, like right click on it and view properties, the RLO switch extends to the whole sentence that the filename is written in, it's hilarious.
It's supposed to print "<filename> Properties", but instead the window title is "<beginning of filename>seitreporP <end of filename>".
It's more the development and specs of Unicode that did miss a lot of things. When Unicode came out Bruce Schneier envisioned all the attacks that'd inevitably come and he was, of course, totally right.
As he put it a quarter of century ago (2000): "Unicode is just too complex to ever be secure".
It's Unicode that did fuck up, not developers who are forced to deal with non-sensical things because somewhere a committee decided that it'd make sense to use a broken system for domain names (for example).
Or do you have thoughts on what a "simplified Unicode" — that accomplishes all the same goals — would look like?
Unicode is fine for what it is - conveying text across languages and scripts. The problem is that some environments use the filename as more than what it should be (a memo field for the user and not an instruction for the machine whether to execute the file as code).
What's complex about that? That's just an ordinary sequence of code points, no different than if there was only one language involved.
Unicode has problems where the same thing is represented several different ways. It's not a problem for different things to be represented in different ways.
That's needed for compatibility with legacy encodings.
> It's Unicode that did fuck up, not developers who are forced to deal with non-sensical things because somewhere a committee decided that it'd make sense to use a broken system for domain names (for example).
I'm not sure that's unicode's fault. Their goal is to produce a standard for encoding ~all written text. It may seem like this would be something cool to support in your program of choice, but in lots of applications that flexibility leads to vulnerabilities. I think developers need to be aware of these risks and design around them (for example by limiting the allowed characters in certain contexts).