Skip to content
Tcl Source Code View Ticket
Login

View Ticket

Invalid bytes in escape encoding sequences are silently dropped

Closed / Fixed6a3e2cb0f0be8c603244c7e50b03bc3528fc0e39Created 3 years agoUpdated 3 years ago
Descriptionmarkdown2023-06-29 10:36:16

In the case of encodings that use escape sequences, invalid bytes are silently dropped.

% set s [encoding convertfrom iso2022-jp x\x1b\x7aaby]
xy
% string length $s
2

It would be preferable to replace with U+FFFD.

Referenced by4
  • 9d4042eca7Merge 8.7 - Bug [6a3e2cb0f0] - invalid bytes in escape encodings Add timeouts to github workflows to catch runaway scripts check-in2024-06-27 08:34:51
  • 6b7bb78217Merge 8.7 - Bug [6a3e2cb0f0] - invalid bytes in escape encodings check-in2024-06-27 07:59:08
  • a8f83d57e4Merge 8.7 - Bug [6a3e2cb0f0] - invalid bytes in escape encodings check-in2023-06-29 11:30:51
  • 398de572abBug [6a3e2cb0f0] - invalid bytes in escape encodings check-in2023-06-29 11:09:29
apnadkarni Ticket [6a3e2cb0f0]: 4 changes [History diff]2023-06-29 10:36:51
apnadkarniplain2023-06-29 11:32:23
Fixed in [a8f83d57e4]
apnadkarni Closed ticket [6a3e2cb0f0]. [History diff]2023-06-29 16:10:16
Log in (anonymous is fine) to add a comment.