3 ms·
> Can you spot any difference between “blöb” and “blöb”? That's where Unicode lost its way and went into a ditch. Identical glyphs should always have the same
by WalterBright 3y ago
> Can you spot any difference between “blöb” and “blöb”?
That's where Unicode lost its way and went into a ditch. Identical glyphs should always have the same code point (or sequence of code points).
Imagine all the coding time spent trying to deal with this nonsense.
- euroderf 3y agoA fine sentiment, but (FWIW) it goes into a ditch when dealing with CJK.
- WalterBright 3y agoOne unique sequence per unique glyph takes care of all that.
- euroderf 3y agoAh, but define "unique" after centuries of borrowing.
- WalterBright 3y agoIf the glyphs are the same, then they have the same Unicode sequence. Nothing hard to understand about that.
- euroderf 3y agoWell, nothing I've read about Unicode & CJK makes me think that it is that straightforward.
- WalterBright 3y agoThat's because people get tangled up in the idea that Unicode glyphs are supposed to be imbued with semantic content. Remove that, and the problems go away.