Fix Phobos dependencies on autodecoding

Walter Bright newshound2 at digitalmars.com
Thu Aug 15 19:54:37 UTC 2019


On 8/15/2019 12:38 PM, Gregor Mückl wrote:
> I am not sure that you can go entirely without normalization for all languages 
> in existence. But Unicode conflates semantic representation and rendering in 
> ways that are effectively layering violations. The LTR and RTL control 
> characters are nice examples of that. Why should a Unicode string be able to 
> specify the displayed direction of the script? The same goes for the stylistic 
> ligatures I pointed out. These should be handled exclusively by the font 
> rendering subsystem. There's a substitution table in OpenType for that, FFS!

Unicode also fouled up by adding semantic information that is invisible to the 
rendering. It should have stuck with the Unicode<=>print round-trip not losing 
information.

Naturally, people have already used such to trick people, track people, etc.

Another thing I hate about Unicode is there are articles about how people can 
get their vanity symbol into Unicode! And they do. They invent glyphs, and get 
them in. This goes on all the time.

Unicode started out as a cool idea, and turned rather quickly into a cesspool.


More information about the Digitalmars-d mailing list