Overview
| Artifact ID: | e174b3183aa4b977d3554aeaf2e1e13b15bff455d4827e694df662c76b316a44 |
|---|---|
| Ticket: | c5bcbf349489ed5260b2fd21a3d9f7a195d82585
Output of surrogates seems to repeat following character |
| User & Date: | jan.nijtmans on 2023-02-06 21:25:56 |
Changes
- icomment:
I cannot reproduce this. On MacOS: <pre> $ tclsh8.7 % puts A\uD800B A???B % puts A\uD800C A???C % fconfigure stdout -strict 1 % puts A\uD800B error writing "stdout": illegal byte sequence A% </pre> My guess is that this depends on the console. Tcl just outputs the (illegal) 3-byte UTF-8 sequence. In Tcl 9.0 it will (properly) throw an exception
- login: "jan.nijtmans"
- mimetype: "text/x-fossil-wiki"