Overview
| Artifact ID: | 43c29e23e3b2c4051903c6c1ac7539a09416f8e76b6af23465d67439ee283236 |
|---|---|
| Ticket: | e617e8a71a00496e9ec682caa1b4e7b5b98c55a7
comparing UTF-16 strings doesn't account for surrogates |
| User & Date: | dgp on 2020-04-30 19:12:48 |
Changes
- icomment:
According to the revised understanding that [string compare] operates and is defined on sequences of UTF-16 code units and not on sequences of characters, this bug is Not a Bug at all. \UFFFF is the one-unit string \uFFFF \U10000 is the two-unit string \uD800\uDC00 and indeed the first sorts higher than the second. Expecting character comparisons is currently something that can only be done under constraint "ucs4". I'm not happy about that, but it seems to be the status of things now. I'm going to keep this ticket open, but it's now a different category of work.
- login: "dgp"
- mimetype: "text/plain"
- type changed to: "RFE"