strict ucs-2 never implemented (TIP #346/#656)
Closed / Fixed5607d6482c5b5ab21e58ed315d4c4f07bad90335Created 4 years agoUpdated 4 years ago
Descriptionplain2023-02-19 10:30:08
Consider % package require Tcl 8.7a6 % encoding convertto -strict ucs-2 \uDC00 Ü % encoding convertto -strict ucs-2 \U10000 ýÿ First example is a surrogate, second example is a code > U+FFFF. Both should throw an exception when using -strict, but this was never implemented
Referenced by2
e5cc7c86bfFix [5607d6482c]: strict ucs-2 never implemented (TIP #346/#656) check-in2023-02-22 07:28:27df48a23e38Proposed fix for [5607d6482c]: strict ucs-2 never implemented (TIP #346/#656) check-in2023-02-19 11:41:44
jan.nijtmanswiki2023-02-22 08:08:23
Fixed [here]
Closing
Log in (anonymous is fine) to add a comment.