Skip to content
Tcl Source Code View Ticket
Login

View Ticket

cesu-8 encoding gives same result for different strings

Closed / Fixed2f22a7364d707d4d2b65bae2d91d5e0459437f95Created 2 years agoUpdated 2 years ago
Descriptionplain2024-08-09 01:38:21
From Julian on the chat:

```
% expr {[encoding convertto cesu-8 \U1f400] eq [encoding convertto cesu-8 \U1f600]}
1
```

Round tripping also fails

```
% encoding convertfrom cesu-8 [encoding convertto cesu-8 \U1f600]
unexpected byte sequence starting at index 0: '\xED'
```
Referenced by3
apnadkarniplain2024-08-10 10:05:22
Jan, assigned to you as probably most familiar with the cesu bits. Please assign back to me if you don't have time to look at it.
jan.nijtmanswiki2024-08-13 13:34:43

Fixed [here]

Thanks for the report!

Log in (anonymous is fine) to add a comment.