3 ms·
There shouldn't even be any such thing as normalized strings, i.e. two different Unicode sequences that are supposed to be the same character.
by WalterBright 8y ago
There shouldn't even be any such thing as normalized strings, i.e. two different Unicode sequences that are supposed to be the same character.
- timw4mail 8y agoSounds great in theory...but you've just vastly extended the number of "characters". While text parsing is a nightmare, you also get the flexibility of combining different characters together, such as emojis and skin tone modifiers, which outputs a different display character. On the other hand, I'm not sure its possible to have a font that represents every valid combination of unicode.
- WalterBright 8y agoUnicode can simply not recognize combining characters where a special code point exists, and vice versa, on a case by case basis. For example, the ä can remain its special code point, and a¨ can display as a¨. Then software that processes Unicode will become straightforward.
- int_19h 8y agoThat ship has sailed for backwards compatibility reasons.
- lozenge 8y agoIn that case you would lose information when transferring text from non-Unicode encoded files to Unicode encoded files. Not a great way for your standard to take off...