Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2024-08-31
00:59
Merge [da1af6e17465fbff]: Fix [2f22a7364d]: cesu-8 encoding gives same result for different strings. check-in: c037a93385 user: pooryorick tags: unchained, INCOMPATIBLE_LICENSE
2024-08-13
13:34 • Closed ticket [2f22a7364d]: cesu-8 encoding gives same result for different stri... artifact: 253c34e295 user: jan.nijtmans
13:32
Fix [2f22a7364d]: cesu-8 encoding gives same result for different strings check-in: da1af6e174 user: jan.nijtmans tags: trunk, main
13:27
Fix [2f22a7364d]: cesu-8 encoding gives same result for different strings check-in: 1fde7637c1 user: jan.nijtmans tags: core-8-branch
2024-08-10
10:05 • Ticket [2f22a7364d] cesu-8 encoding gives same result for different strings ... artifact: bcb64569fa user: apnadkarni
2024-08-09
01:38 • New ticket [2f22a7364d]. artifact: ed8bfe261d user: apnadkarni

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.