3 msΒ·
It's not data loss if the bold or italic are in CSS or HTML tags, but if it's ππ¨π₯π or ππ‘ππππ like this (which I realize is not how Unicode is supposed
by mrob 8y ago
It's not data loss if the bold or italic are in CSS or HTML tags, but if it's ππ¨π₯π or ππ‘ππππ like this (which I realize is not how Unicode is supposed to be used) then it's part of the text, just like soft hyphens.
- quotemstr 8y agoSoft hyphens only "part of the text" because the hyphens are represented using "in band signaling" instead of "out of band" signaling, as in proper bold and italic. It's still just information about the text, not the text itself.
- mrob 8y agoIt's exactly because they're in-band signaling that they should be preserved. I don't expect copy and paste to change the sequence of Unicode code points. If the browser "helpfully" removes certain code points then it's more complexity I have to think about. The only change I'd consider acceptable would be changing to a specified Unicode normalization form. In this case the complexity already exists within Unicode, so the browser isn't making it worse.