14 ms·
> you don't need to remove ambiguities if you can collapse the ambiguities into equivalence classes. It still leaves users who don’t know or can’t assume that
by layer8 4y ago
> you don't need to remove ambiguities if you can collapse the ambiguities into equivalence classes.
It still leaves users who don’t know or can’t assume that normalization is applied worrying about which character exactly is being displayed.
- yellowapple 4y agoThe users don't need to know or assume anything if the decoder accepts both characters as aliases for one another. The issue is further addressable by being explicit about the normalization being in effect and/or by being explicit about which one the encoder is emitting ("if it looks like a zero, then it's always a zero").
- layer8 4y agoMy point is that most developers implementing this won’t consider that. This is just one example of a more general phenomenon of making some UI behavior foolproof, but not considering that the user doesn’t know that it’s foolproof, so the user isn’t saved from wondering about what will happen and what is the correct input. In the present case, instead of having to inform the user about the normalization, it would be simpler to refrain from using potentially ambiguous characters in the first place.