Fix Phobos dependencies on autodecoding

Gregor Mückl gregormueckl at gmx.de
Thu Aug 15 19:38:01 UTC 2019


On Thursday, 15 August 2019 at 19:11:14 UTC, Walter Bright wrote:
> In my not-so-humble opinion, the introduction of 
> "normalization" to Unicode was a huge mistake. It's not 
> necessary and causes nothing but grief. They should have 
> consulted with me first :-)

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!

Well, I guess that Unicode is the best we have despite all this 
maddening cruft. Attempting to do better would just result in 
text encoding "standard" N+1. And we know how much the world 
needs that. ;)


More information about the Digitalmars-d mailing list