Tcl Source Code

View Ticket
Login
Ticket UUID: 201c7a3aa6c00aaa4ab215d120754f220cb484e1
Title: Crash converting to iso2022
Type: Bug Created on: 2024-08-09 01:32:33
Submitter: apnadkarni Assigned to: nobody
Subsystem: - New Builtin Commands Severity: Severe
Priority: 5 Medium Last modified: 2024-08-09 13:04:07
Status: Closed Closed by: apnadkarni
Resolution: Fixed Closed on: 2024-08-09 13:04:07
Version: 9.0b3
Description:
From Julian on the chat:

```
encoding convertto iso2022 \U1f600
```

crashes Tcl.
User Comments:
apnadkarni added on 2024-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.nijtmans added on 2024-08-09 05:10:09:

+1. Looks good to me


apnadkarni added on 2024-08-09 13:04:07:
Fixed in [f25a8e1ef2].