Skip to content
Tcl Source Code View Ticket
Login

View Ticket

Crash converting to iso2022

Closed / Fixed201c7a3aa6c00aaa4ab215d120754f220cb484e1Created 2 years agoUpdated 2 years ago
Descriptionplain2024-08-09 01:32:33
From Julian on the chat:

```
encoding convertto iso2022 \U1f600
```

crashes Tcl.
Referenced by3
apnadkarnimarkdown2024-08-09 03:00:30

Proposed fix in [290de86578]. Presumes non-BMP characters are not encodable. This seems to be true for all encodings registered for iso2022. If not, the escape encoding table structure will need more significant change.

Needs review.

jan.nijtmanswiki2024-08-09 05:10:09

+1. Looks good to me

apnadkarniplain2024-08-09 13:04:07
Fixed in [f25a8e1ef2].
Log in (anonymous is fine) to add a comment.