Artifacts Associated With Ticket 133456085a950053
Ticket change [d2565f8c7f] (rid 207498) by pointsman on 2022-11-28 20:42:29:
- assignee initialized to: "nobody"
- closer initialized to: "nobody"
- cmimetype initialized to: "text/plain"
- comment initialized to:
To create the test data simplest is to use a 8.6 tclsh % info patchlevel 8.6.12 % encoding system utf-8 % set fd [open test.data w+] file3 % puts $fd \uffff\uffff\uffffabc % close $fd The created file contains the byte sequence ef bf bf ef bf bf ef bf bf 61 62 63 0a as expected. Now try to read this file with Tcl 9: % info patchlevel 9.0a4 % encoding system utf-8 % set fd [open test.data] file6 % set data [read $fd] % string length $data 0 Ahem, ... what?
- foundin initialized to: "9.0"
- is_private initialized to: "0"
- login: "pointsman"
- priority initialized to: "5 Medium"
- private_contact initialized to: "4ca203a8e925aecdd9419645f936bccf18cd6ea7"
- resolution initialized to: "None"
- severity initialized to: "Critical"
- status initialized to: "Open"
- submitter initialized to: "pointsman"
- subsystem initialized to: "25. Channel System"
- title initialized to:
Tcl 9: Reading UTF-8 data which contains "noncharacter" code points
- type initialized to: "Bug"
Ticket change [a3367c26b2] (rid 207499) by jan.nijtmans on 2022-11-28 21:23:09:
- assignee changed to: "jan.nijtmans"
- login: "jan.nijtmans"
- mimetype: "text/plain"
Ticket change [2942059425] (rid 207645) by jan.nijtmans on 2022-12-01 07:44:38:
- closedate changed to: "2459914.82267303"
- closer changed to: "jan.nijtmans"
- icomment: "Fixed [64badf1d02ac1b90|here]"
- login: "jan.nijtmans"
- mimetype: "text/x-fossil-wiki"
- resolution changed to: "Fixed"
- status changed to: "Closed"