Overview
| Artifact ID: | 3aede1e9a50c78d83462d5db89e0f6a7ff559105ffdb74366b6dd2da3637d45a |
|---|---|
| Ticket: | 7f1162a8674cc65c9b72169818badc3186f97678
concatenation does not make usable surrogate pairs |
| User & Date: | pooryorick on 2021-04-12 20:39:24 |
Changes
- icomment:
Tcl should refuse refuse to work with such invalid data. If a third party produces a Tcl_Obj whose string representation contains something other than Tcl's modified utf-8 encoding, the result of any operation on that string is undefined. Garbage in, garbage out. To that extent, it doesn't matter how the behaviour illustrated in this issue is "fixed". However, code that goes to such efforts to pretend to do something useful with invalid data could confuse future generations of Tcl hackers.
- login: "pooryorick"
- mimetype: "text/plain"