Artifacts Associated With Ticket 3cd9bea1e6
Ticket change [33fc5a40ea] (rid 177580) by chw on 2019-12-03 00:41:13:
- assignee initialized to: "nobody"
- closer initialized to: "nobody"
- cmimetype initialized to: "text/plain"
- comment initialized to:
From code reading I believe that check-in [43032d7ba3] leaves out corner cases: * it does not check for the return code of the inner TclParseHex() * it requires the second "\u.." escape sequence to have 4 hex digits (which is a required condition for the low surrogate, no complaints about it) * but it will accept "\ud83d\uxyyzz" without proper error handling
- foundin initialized to: "core-8-6-branch"
- is_private initialized to: "0"
- login: "chw"
- priority initialized to: "5 Medium"
- private_contact initialized to: "0b3aff16612e1e9f3b675963fa64e01bd1d89307"
- resolution initialized to: "None"
- severity initialized to: "Important"
- status initialized to: "Open"
- submitter initialized to: "chw"
- subsystem initialized to: "44. UTF-8 Strings"
- title initialized to: "check-in [43032d7ba3] potential problems"
- type initialized to: "Bug"
Ticket change [4edfbf3b4e] (rid 177595) by jan.nijtmans on 2019-12-03 15:17:02:
- assignee changed to: "jan.nijtmans"
- closedate changed to: "2458821.13683281"
- closer changed to: "jan.nijtmans"
- icomment:
Fixed in all branches now. Thanks! The goal of this is to make it almost impossible to create surrogate-pairs when Tcl is compiled with -DTCL_UTF_MAX>3: We want 4-byte UTF-8 sequences always. Of course you can still work around it like: <pre> %set x \uD83D � % append x \uDE00 😀 <pre> I'm sure there are still other ways to create surrogate pairs as two 3-byte sequences, but this should be discouraged. - login: "jan.nijtmans"
- mimetype: "text/x-fossil-wiki"
- resolution changed to: "Fixed"
- status changed to: "Closed"