Fix Phobos dependencies on autodecoding

Gregor Mückl gregormueckl at gmx.de
Thu Aug 15 22:37:57 UTC 2019


On Thursday, 15 August 2019 at 22:04:01 UTC, H. S. Teoh wrote:
> Basically, there is no sane way to avoid detaching the 
> character encoding from the physical appearance of the 
> character.  It simply makes no sense to have a different 
> character for every variation of glyph across a set of fonts.  
> You *have* to work on a more abstract level, at the level of 
> the *logical* identity of the character, not its specific 
> physical appearance per font.

OK, but Unicode also does the inverse: it has multiple legal 
representations of characters that are logically the same, mean 
the same and should appear the exact same (the later doesn't 
necessarily happen because of font rendering deficiencies). E.g. 
the word
"schön" can be encoded two different ways while using only code 
points intended for German. So you can get the situation that 
"schön" != "schön". This is unnecessary duplication.


More information about the Digitalmars-d mailing list